Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 106.5 kB / 17.73 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 191 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.232/1.232, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 55.92 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0776/0.07869, allocations: 46.62 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003069/0.08179, allocations: 2.407 MB / 377 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009102/0.08273, allocations: 0.62 MB / 377.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.08284, allocations: 4 kB / 377.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.083, allocations: 43.58 kB / 377.7 MB, free: 2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.08312, allocations: 63.36 kB / 377.8 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.08335, allocations: 59.86 kB / 377.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.0836, allocations: 262.8 kB / 378.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.08378, allocations: 89.56 kB / 378.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.08391, allocations: 103.7 kB / 378.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.08405, allocations: 115.5 kB / 378.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.08409, allocations: 20 kB / 378.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.144e-05/0.08412, allocations: 20 kB / 378.4 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.08417, allocations: 47.83 kB / 378.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.737e-05/0.08427, allocations: 115.4 kB / 378.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.08451, allocations: 255.1 kB / 378.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.08452, allocations: 4 kB / 378.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.08453, allocations: 0 / 378.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.08454, allocations: 0 / 378.8 MB, free: 0.8633 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006564/0.0852, allocations: 0.5107 MB / 379.3 MB, free: 312 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.08525, allocations: 15.97 kB / 379.4 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.82e-05/0.0853, allocations: 54.72 kB / 379.4 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.08535, allocations: 24.66 kB / 379.4 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1496/0.2349, allocations: 235.9 kB / 379.7 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.235, allocations: 17.53 kB / 379.7 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.235, allocations: 22.64 kB / 379.7 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.2354, allocations: 218.9 kB / 379.9 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.2355, allocations: 3.594 kB / 379.9 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.2355, allocations: 10.62 kB / 379.9 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.2355, allocations: 9.469 kB / 379.9 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.2358, allocations: 149 kB / 380.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009605/0.2368, allocations: 0.7746 MB / 380.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.2371, allocations: 199.6 kB / 381.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.2373, allocations: 108.2 kB / 381.2 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.2374, allocations: 6.578 kB / 381.2 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.2374, allocations: 35.19 kB / 381.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.2374, allocations: 0 / 381.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001345/0.2387, allocations: 0.8607 MB / 382.1 MB, free: 11.83 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.2388, allocations: 87.67 kB / 382.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.2389, allocations: 188.5 kB / 382.3 MB, free: 11.6 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.2389, allocations: 26.77 kB / 382.4 MB, free: 11.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.239, allocations: 139.5 kB / 382.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/0.2391, allocations: 92.41 kB / 382.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.167e-05/0.2391, allocations: 50.59 kB / 382.6 MB, free: 11.35 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.971e-05/0.2392, allocations: 329.2 kB / 383 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.2394, allocations: 64.23 kB / 383 MB, free: 11.01 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.2395, allocations: 112.4 kB / 383.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/0.2399, allocations: 194 kB / 383.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2399, allocations: 1.281 kB / 383.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003576/0.2403, allocations: 241 kB / 383.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2403, allocations: 9 kB / 383.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2403, allocations: 8.422 kB / 383.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.2403, allocations: 2.781 kB / 383.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.2406, allocations: 59.47 kB / 383.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2406, allocations: 3.281 kB / 383.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.2407, allocations: 20.55 kB / 383.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.2407, allocations: 11.56 kB / 383.7 MB, free: 10.7 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.921e-05/0.2408, allocations: 143.9 kB / 383.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.2408, allocations: 19.19 kB / 383.8 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.354e-05/0.2409, allocations: 31.22 kB / 383.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2409, allocations: 3.906 kB / 383.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.2409, allocations: 1.125 kB / 383.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2409, allocations: 1.219 kB / 383.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006728/0.2416, allocations: 0.5839 MB / 384.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2416, allocations: 1.953 kB / 384.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.2419, allocations: 61.58 kB / 384.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2419, allocations: 2.719 kB / 384.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.2419, allocations: 6.812 kB / 384.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.2419, allocations: 3.125 kB / 384.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2419, allocations: 3.969 kB / 384.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.2425, allocations: 498.1 kB / 385 MB, free: 9.738 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.2425, allocations: 104.4 kB / 385.1 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.2425, allocations: 11.55 kB / 385.1 MB, free: 9.621 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.2427, allocations: 10.38 kB / 385.1 MB, free: 9.617 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.2428, allocations: 18.34 kB / 385.2 MB, free: 9.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.2428, allocations: 15.36 kB / 385.2 MB, free: 9.605 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.168e-05/0.2429, allocations: 133.6 kB / 385.3 MB, free: 9.512 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.072e-06/0.2429, allocations: 1.312 kB / 385.3 MB, free: 9.512 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003304/0.2432, allocations: 49.34 kB / 385.4 MB, free: 9.504 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006317/0.2438, allocations: 1.023 MB / 386.4 MB, free: 8.641 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003369/0.2442, allocations: 186 kB / 386.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2442, allocations: 1.844 kB / 386.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.2443, allocations: 95.2 kB / 386.7 MB, free: 8.559 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.2448, allocations: 41.03 kB / 386.7 MB, free: 8.543 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.2473, allocations: 2.629 MB / 389.3 MB, free: 6.598 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.2475, allocations: 0.7492 MB / 390.1 MB, free: 5.895 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.043e-05/0.2476, allocations: 20 kB / 390.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.101e-05/0.2477, allocations: 74.91 kB / 390.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2477, allocations: 0 / 390.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.2689, allocations: 4.465 MB / 394.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/7.597, allocations: 5.062 kB / 394.6 MB, free: 5.098 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches