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.001383/0.001383, allocations: 110.7 kB / 17.28 MB, free: 6.176 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.001665/0.001665, allocations: 189.3 kB / 18.2 MB, free: 5.254 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.463/1.463, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001131/0.001131, allocations: 51.92 kB / 280.1 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1195, allocations: 46.63 MB / 326.8 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003915/0.1235, allocations: 2.448 MB / 329.2 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.1247, allocations: 0.6086 MB / 329.8 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.1248, allocations: 11.88 kB / 329.8 MB, free: 1.684 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.125, allocations: 31.83 kB / 329.9 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.1251, allocations: 59.47 kB / 329.9 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.1253, allocations: 51.95 kB / 330 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.1256, allocations: 258.9 kB / 330.2 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.1258, allocations: 93.33 kB / 330.3 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.126, allocations: 99.69 kB / 330.4 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1261, allocations: 107.5 kB / 330.5 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.1262, allocations: 20 kB / 330.5 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.324e-05/0.1262, allocations: 27.94 kB / 330.6 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.1263, allocations: 47.84 kB / 330.6 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.995e-05/0.1264, allocations: 119.4 kB / 330.7 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.1266, allocations: 251.3 kB / 331 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1266, allocations: 0 / 331 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1266, allocations: 0 / 331 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1267, allocations: 0 / 331 MB, free: 0.5391 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.0007723/0.1274, allocations: 0.5225 MB / 331.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1275, allocations: 15.89 kB / 331.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.301e-05/0.1275, allocations: 28.59 kB / 331.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1278, allocations: 232.6 kB / 331.8 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.1278, allocations: 16.81 kB / 331.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.1279, allocations: 16.38 kB / 331.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.1283, allocations: 225.2 kB / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.1283, allocations: 8 kB / 332 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.1283, allocations: 4 kB / 332 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.1284, allocations: 4 kB / 332 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.1287, allocations: 143.9 kB / 332.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.1298, allocations: 0.7869 MB / 333 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.1303, allocations: 213 kB / 333.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.1305, allocations: 105.7 kB / 333.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.1305, allocations: 7.938 kB / 333.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.1306, allocations: 38.69 kB / 333.3 MB, free: 13.99 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.202e-06/0.1306, allocations: 0 / 333.3 MB, free: 13.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.001536/0.1321, allocations: 0.8595 MB / 334.2 MB, free: 13.04 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.1322, allocations: 81.11 kB / 334.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.1323, allocations: 174.2 kB / 334.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.1323, allocations: 29.7 kB / 334.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.1324, allocations: 144.4 kB / 334.6 MB, free: 12.59 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.561e-05/0.1325, allocations: 90.8 kB / 334.7 MB, free: 12.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.302e-05/0.1326, allocations: 49.7 kB / 334.7 MB, free: 12.44 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1327, allocations: 334.8 kB / 335.1 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1328, allocations: 63.97 kB / 335.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.133, allocations: 112.2 kB / 335.2 MB, free: 11.92 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.1333, allocations: 196.1 kB / 335.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1334, allocations: 0 / 335.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004135/0.1338, allocations: 245.2 kB / 335.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1338, allocations: 8 kB / 335.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1338, allocations: 0 / 335.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1338, allocations: 8.031 kB / 335.7 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.1341, allocations: 59.97 kB / 335.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1341, allocations: 3.938 kB / 335.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.1342, allocations: 23.83 kB / 335.8 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.1342, allocations: 8 kB / 335.8 MB, free: 11.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.0001118/0.1344, allocations: 145.7 kB / 335.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.1344, allocations: 15.81 kB / 335.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.207e-05/0.1345, allocations: 29.86 kB / 336 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1345, allocations: 8 kB / 336 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1345, allocations: 0 / 336 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1345, allocations: 0 / 336 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007862/0.1353, allocations: 0.5786 MB / 336.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1353, allocations: 4.094 kB / 336.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.1356, allocations: 63.91 kB / 336.6 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.1356, allocations: 0 / 336.6 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.1356, allocations: 8 kB / 336.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1357, allocations: 0 / 336.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.1357, allocations: 7.938 kB / 336.6 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006069/0.1363, allocations: 489 kB / 337.1 MB, free: 9.918 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.1363, allocations: 100.8 kB / 337.2 MB, free: 9.801 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.1364, allocations: 8 kB / 337.2 MB, free: 9.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.1365, allocations: 8.047 kB / 337.2 MB, free: 9.785 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.1366, allocations: 23.91 kB / 337.3 MB, free: 9.762 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.1366, allocations: 8 kB / 337.3 MB, free: 9.754 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.878e-05/0.1367, allocations: 136.3 kB / 337.4 MB, free: 9.621 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1367, allocations: 0 / 337.4 MB, free: 9.621 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003367/0.1371, allocations: 48 kB / 337.4 MB, free: 9.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.0001164/0.1372, allocations: 107.2 kB / 337.5 MB, free: 9.461 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000388/0.1376, allocations: 188.1 kB / 337.7 MB, free: 9.277 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1376, allocations: 0 / 337.7 MB, free: 9.277 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.1378, allocations: 95.83 kB / 337.8 MB, free: 9.184 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.1383, allocations: 36.52 kB / 337.9 MB, free: 9.148 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.1396, allocations: 0.7893 MB / 338.6 MB, free: 8.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.14, allocations: 0.744 MB / 339.4 MB, free: 7.551 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.1402, allocations: 25.94 kB / 339.4 MB, free: 7.523 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.1402, allocations: 19.44 kB / 339.4 MB, free: 7.504 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1402, allocations: 0 / 339.4 MB, free: 7.504 MB / 286.1 MB Notification: Performance of Templates: time 0.00515/0.1454, allocations: 1.987 MB / 341.4 MB, free: 5.523 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