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: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001042/0.001042, allocations: 191 kB / 19.29 MB, free: 3.848 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.321/1.321, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001703/0.001703, allocations: 51.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1062, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003951/0.1102, allocations: 2.403 MB / 331.1 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1113, allocations: 0.6125 MB / 331.7 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.1115, allocations: 7.938 kB / 331.8 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.1117, allocations: 31.66 kB / 331.8 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.1119, allocations: 71.34 kB / 331.9 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.1122, allocations: 55.92 kB / 331.9 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003356/0.1125, allocations: 266.8 kB / 332.2 MB, free: 288 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.1127, allocations: 93.36 kB / 332.3 MB, free: 196 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.1129, allocations: 99.64 kB / 332.4 MB, free: 96 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.1132, allocations: 107.5 kB / 332.5 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.1132, allocations: 23.94 kB / 332.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.496e-05/0.1133, allocations: 23.94 kB / 332.5 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.417e-05/0.1133, allocations: 43.84 kB / 332.6 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.1134, allocations: 123.4 kB / 332.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.1137, allocations: 255 kB / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1137, allocations: 0 / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1138, allocations: 0 / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1138, allocations: 0 / 332.9 MB, free: 15.53 MB / 286.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.00079/0.1146, allocations: 0.5146 MB / 333.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1146, allocations: 11.89 kB / 333.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/0.1147, allocations: 28.64 kB / 333.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.115, allocations: 236.5 kB / 333.7 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.115, allocations: 16.81 kB / 333.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.1151, allocations: 20.38 kB / 333.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.1155, allocations: 217.3 kB / 334 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1155, allocations: 4 kB / 334 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.1156, allocations: 8 kB / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.1156, allocations: 4 kB / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.1159, allocations: 147.8 kB / 334.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.1171, allocations: 0.7869 MB / 334.9 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/0.1176, allocations: 213 kB / 335.1 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.1178, allocations: 109.7 kB / 335.2 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1178, allocations: 4 kB / 335.2 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1179, allocations: 38.69 kB / 335.3 MB, free: 12.99 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.442e-06/0.1179, allocations: 0 / 335.3 MB, free: 12.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.001557/0.1194, allocations: 0.8477 MB / 336.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.1195, allocations: 81.11 kB / 336.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1197, allocations: 174.5 kB / 336.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1197, allocations: 33.64 kB / 336.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.715e-05/0.1198, allocations: 140.5 kB / 336.5 MB, free: 11.59 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.176e-05/0.1199, allocations: 98.58 kB / 336.6 MB, free: 11.49 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-05/0.12, allocations: 49.7 kB / 336.7 MB, free: 11.44 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1201, allocations: 330.8 kB / 337 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.1202, allocations: 63.97 kB / 337.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.1204, allocations: 108.2 kB / 337.2 MB, free: 10.92 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.1208, allocations: 188.1 kB / 337.3 MB, free: 10.72 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1208, allocations: 3.938 kB / 337.4 MB, free: 10.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004174/0.1212, allocations: 253.2 kB / 337.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1212, allocations: 8 kB / 337.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1212, allocations: 0 / 337.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1213, allocations: 4 kB / 337.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.1215, allocations: 59.91 kB / 337.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1215, allocations: 0 / 337.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.1217, allocations: 23.83 kB / 337.7 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.1217, allocations: 8 kB / 337.7 MB, free: 10.36 MB / 286.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 0.0001258/0.1218, allocations: 145.8 kB / 337.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/0.1219, allocations: 15.81 kB / 337.9 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.368e-05/0.1219, allocations: 29.86 kB / 337.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.122, allocations: 4 kB / 337.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.122, allocations: 0 / 337.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.122, allocations: 4 kB / 337.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008319/0.1228, allocations: 0.5832 MB / 338.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1228, allocations: 0 / 338.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.1231, allocations: 55.91 kB / 338.5 MB, free: 9.453 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1231, allocations: 4 kB / 338.5 MB, free: 9.449 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.1232, allocations: 8 kB / 338.5 MB, free: 9.441 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1232, allocations: 0 / 338.5 MB, free: 9.441 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1232, allocations: 7.938 kB / 338.6 MB, free: 9.434 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006172/0.1238, allocations: 493.1 kB / 339 MB, free: 8.926 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.1239, allocations: 96.83 kB / 339.1 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.1239, allocations: 4 kB / 339.1 MB, free: 8.809 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.1241, allocations: 16.03 kB / 339.1 MB, free: 8.793 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.1242, allocations: 31.8 kB / 339.2 MB, free: 8.762 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1242, allocations: 8 kB / 339.2 MB, free: 8.754 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.659e-05/0.1243, allocations: 136.3 kB / 339.3 MB, free: 8.621 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1243, allocations: 0 / 339.3 MB, free: 8.621 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.1246, allocations: 48 kB / 339.4 MB, free: 8.574 MB / 286.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.0001114/0.1247, allocations: 103.2 kB / 339.5 MB, free: 8.465 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003884/0.1251, allocations: 184 kB / 339.6 MB, free: 8.285 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1252, allocations: 4 kB / 339.7 MB, free: 8.281 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.1253, allocations: 101.1 kB / 339.7 MB, free: 8.184 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.1258, allocations: 48.92 kB / 339.8 MB, free: 8.141 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.127, allocations: 0.688 MB / 340.5 MB, free: 7.414 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.1273, allocations: 0.7479 MB / 341.2 MB, free: 6.641 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.551e-05/0.1274, allocations: 21.95 kB / 341.3 MB, free: 6.617 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.1274, allocations: 23.42 kB / 341.3 MB, free: 6.594 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1275, allocations: 0 / 341.3 MB, free: 6.594 MB / 286.1 MB Notification: Performance of Templates: time 0.004906/0.1324, allocations: 2.016 MB / 343.3 MB, free: 4.582 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (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 & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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