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.001286/0.001287, allocations: 101.5 kB / 17.15 MB, free: 6.316 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.001322/0.001322, allocations: 190 kB / 18.07 MB, free: 5.414 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.601/1.601, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001152/0.001152, allocations: 51.94 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1017, allocations: 46.62 MB / 326.6 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003717/0.1055, allocations: 2.453 MB / 329 MB, free: 2.426 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1066, allocations: 0.6165 MB / 329.7 MB, free: 1.801 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.1067, allocations: 7.938 kB / 329.7 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.1069, allocations: 27.83 kB / 329.7 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.1071, allocations: 55.48 kB / 329.7 MB, free: 1.711 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.1073, allocations: 47.95 kB / 329.8 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.1077, allocations: 254.8 kB / 330 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.1079, allocations: 77.91 kB / 330.1 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.1081, allocations: 91.69 kB / 330.2 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.1082, allocations: 107.5 kB / 330.3 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.1083, allocations: 12 kB / 330.3 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.288e-05/0.1083, allocations: 19.94 kB / 330.3 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.1084, allocations: 39.83 kB / 330.4 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.1085, allocations: 119.3 kB / 330.5 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.1088, allocations: 239.4 kB / 330.7 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1088, allocations: 3.938 kB / 330.7 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1088, allocations: 0 / 330.7 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1088, allocations: 0 / 330.7 MB, free: 0.7188 MB / 270.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.0008543/0.1097, allocations: 0.5224 MB / 331.3 MB, free: 148 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1097, allocations: 12.03 kB / 331.3 MB, free: 136 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.1098, allocations: 24.66 kB / 331.3 MB, free: 112 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.1101, allocations: 236.6 kB / 331.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.1101, allocations: 12.81 kB / 331.5 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.1101, allocations: 20.38 kB / 331.6 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.1106, allocations: 225.2 kB / 331.8 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.1106, allocations: 4 kB / 331.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.1106, allocations: 8 kB / 331.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1106, allocations: 4 kB / 331.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.1109, allocations: 143.9 kB / 331.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.1122, allocations: 0.7909 MB / 332.7 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.1127, allocations: 201 kB / 332.9 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.1129, allocations: 105.6 kB / 333 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.113, allocations: 11.98 kB / 333 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.113, allocations: 34.69 kB / 333.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 3.587e-06/0.113, allocations: 3.984 kB / 333.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.00164/0.1147, allocations: 0.8524 MB / 333.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.1147, allocations: 89.09 kB / 334 MB, free: 13.13 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1149, allocations: 178.1 kB / 334.2 MB, free: 12.95 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.1149, allocations: 29.7 kB / 334.2 MB, free: 12.91 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.798e-05/0.115, allocations: 140.4 kB / 334.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.1151, allocations: 90.66 kB / 334.4 MB, free: 12.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.1152, allocations: 53.7 kB / 334.5 MB, free: 12.62 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1153, allocations: 326.8 kB / 334.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.1155, allocations: 67.95 kB / 334.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.1157, allocations: 104.2 kB / 335 MB, free: 12.11 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.116, allocations: 196.1 kB / 335.2 MB, free: 11.9 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.116, allocations: 0 / 335.2 MB, free: 11.9 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005022/0.1166, allocations: 245.2 kB / 335.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.1166, allocations: 15.06 kB / 335.4 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.1166, allocations: 8.094 kB / 335.4 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.1166, allocations: 7.938 kB / 335.4 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.117, allocations: 55.97 kB / 335.5 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.117, allocations: 3.938 kB / 335.5 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.1172, allocations: 19.83 kB / 335.5 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.1172, allocations: 12 kB / 335.5 MB, free: 11.54 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.000142/0.1174, allocations: 138.2 kB / 335.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.1174, allocations: 19.81 kB / 335.7 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.195e-05/0.1175, allocations: 29.86 kB / 335.7 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1175, allocations: 4 kB / 335.7 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1175, allocations: 0 / 335.7 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1175, allocations: 0 / 335.7 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007932/0.1183, allocations: 0.5864 MB / 336.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1183, allocations: 0 / 336.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.1186, allocations: 59.91 kB / 336.4 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.1186, allocations: 4 kB / 336.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.1186, allocations: 4 kB / 336.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1186, allocations: 0 / 336.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1187, allocations: 7.938 kB / 336.4 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006166/0.1193, allocations: 489.1 kB / 336.9 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.121e-05/0.1194, allocations: 104.8 kB / 337 MB, free: 9.988 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.1194, allocations: 8 kB / 337 MB, free: 9.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.1196, allocations: 8 kB / 337 MB, free: 9.973 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.1197, allocations: 23.91 kB / 337 MB, free: 9.949 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.1197, allocations: 4 kB / 337 MB, free: 9.945 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.1198, allocations: 136.3 kB / 337.1 MB, free: 9.812 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1198, allocations: 4 kB / 337.1 MB, free: 9.809 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.1201, allocations: 48 kB / 337.2 MB, free: 9.762 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.0001177/0.1202, allocations: 103.2 kB / 337.3 MB, free: 9.652 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003918/0.1206, allocations: 180 kB / 337.5 MB, free: 9.477 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1206, allocations: 4 kB / 337.5 MB, free: 9.473 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.1208, allocations: 91.84 kB / 337.6 MB, free: 9.383 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/0.1214, allocations: 36.47 kB / 337.6 MB, free: 9.348 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.1226, allocations: 0.7763 MB / 338.4 MB, free: 8.535 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.1229, allocations: 0.7559 MB / 339.1 MB, free: 7.754 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.77e-05/0.123, allocations: 17.95 kB / 339.1 MB, free: 7.734 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.284e-05/0.1231, allocations: 23.44 kB / 339.2 MB, free: 7.711 MB / 286.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1231, allocations: 0 / 339.2 MB, free: 7.711 MB / 286.1 MB Notification: Performance of Templates: time 0.004472/0.1276, allocations: 1.9 MB / 341.1 MB, free: 5.816 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches