Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.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.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 97 kB / 16.94 MB, free: 6.441 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.001383/0.001383, allocations: 187.5 kB / 17.83 MB, free: 6.008 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.577/1.577, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004216/0.0004216, allocations: 8 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09184/0.09227, allocations: 47.58 MB / 328.3 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.001931/0.09423, allocations: 1.954 MB / 330.3 MB, free: 2.148 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003571/0.0946, allocations: 271.2 kB / 330.5 MB, free: 1.883 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.356e-05/0.0947, allocations: 7.938 kB / 330.5 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.584e-05/0.09475, allocations: 31.75 kB / 330.6 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.09491, allocations: 103.7 kB / 330.7 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001007/0.09502, allocations: 47.95 kB / 330.7 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.09524, allocations: 215.6 kB / 330.9 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.09538, allocations: 81.64 kB / 331 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.893e-05/0.09547, allocations: 103.6 kB / 331.1 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.0956, allocations: 115.5 kB / 331.2 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.09564, allocations: 19.98 kB / 331.3 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.974e-05/0.09568, allocations: 12 kB / 331.3 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.09571, allocations: 39.84 kB / 331.3 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.09577, allocations: 77.52 kB / 331.4 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.09595, allocations: 227.6 kB / 331.6 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.442e-06/0.09596, allocations: 0 / 331.6 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.09597, allocations: 0 / 331.6 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.09598, allocations: 0 / 331.6 MB, free: 0.8164 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006423/0.09663, allocations: 0.5339 MB / 332.1 MB, free: 240 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.09666, allocations: 8.031 kB / 332.1 MB, free: 232 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.09672, allocations: 31.62 kB / 332.2 MB, free: 200 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.09699, allocations: 242.7 kB / 332.4 MB, free: 15.92 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.09701, allocations: 20.52 kB / 332.4 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.09706, allocations: 31.91 kB / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.09743, allocations: 250.5 kB / 332.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.09746, allocations: 0 / 332.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.0975, allocations: 12 kB / 332.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.09751, allocations: 4 kB / 332.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.09779, allocations: 175.9 kB / 332.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009491/0.09875, allocations: 0.7539 MB / 333.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/0.09912, allocations: 273.2 kB / 333.9 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.09915, allocations: 8 kB / 333.9 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.09918, allocations: 46.48 kB / 334 MB, free: 14.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.473e-06/0.09919, allocations: 3.938 kB / 334 MB, free: 14.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002355/0.1015, allocations: 1.697 MB / 335.7 MB, free: 12.39 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.1016, allocations: 89.09 kB / 335.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1018, allocations: 182.2 kB / 335.9 MB, free: 12.09 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.1018, allocations: 37.7 kB / 336 MB, free: 12.05 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.051e-05/0.1019, allocations: 140.7 kB / 336.1 MB, free: 11.91 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.102, allocations: 165.5 kB / 336.3 MB, free: 11.74 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/0.1021, allocations: 12 kB / 336.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1022, allocations: 338.8 kB / 336.6 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.1024, allocations: 101.1 kB / 336.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.1026, allocations: 157.5 kB / 336.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.1028, allocations: 126.3 kB / 337 MB, free: 11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1028, allocations: 0 / 337 MB, free: 11 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004609/0.1032, allocations: 370.2 kB / 337.3 MB, free: 10.63 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1033, allocations: 4 kB / 337.4 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1033, allocations: 3.984 kB / 337.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1033, allocations: 4 kB / 337.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.1037, allocations: 99.97 kB / 337.5 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.1037, allocations: 4 kB / 337.5 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.1038, allocations: 15.98 kB / 337.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.1038, allocations: 12 kB / 337.5 MB, free: 10.49 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.104, allocations: 157.7 kB / 337.6 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.104, allocations: 27.67 kB / 337.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.161e-05/0.1041, allocations: 33.88 kB / 337.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.1041, allocations: 11.98 kB / 337.7 MB, free: 10.26 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.1042, allocations: 7.922 kB / 337.7 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1042, allocations: 4 kB / 337.7 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.1053, allocations: 0.9555 MB / 338.7 MB, free: 9.227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1053, allocations: 0 / 338.7 MB, free: 9.227 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/0.1057, allocations: 95.89 kB / 338.8 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1058, allocations: 4 kB / 338.8 MB, free: 9.129 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.1058, allocations: 11.95 kB / 338.8 MB, free: 9.117 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1058, allocations: 0 / 338.8 MB, free: 9.117 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1058, allocations: 7.938 kB / 338.8 MB, free: 9.109 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006931/0.1065, allocations: 0.6719 MB / 339.5 MB, free: 8.391 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.1066, allocations: 100.7 kB / 339.6 MB, free: 8.273 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.1066, allocations: 12 kB / 339.6 MB, free: 8.262 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.1068, allocations: 11.98 kB / 339.6 MB, free: 8.25 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.1068, allocations: 27.97 kB / 339.6 MB, free: 8.223 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.1069, allocations: 15.94 kB / 339.6 MB, free: 8.207 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.07e-05/0.107, allocations: 136.3 kB / 339.8 MB, free: 8.074 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.107, allocations: 0 / 339.8 MB, free: 8.074 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003372/0.1073, allocations: 76 kB / 339.8 MB, free: 8 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001158/0.1074, allocations: 107.2 kB / 339.9 MB, free: 7.887 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004091/0.1078, allocations: 290.7 kB / 340.2 MB, free: 7.605 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1078, allocations: 0 / 340.2 MB, free: 7.605 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.108, allocations: 156.6 kB / 340.4 MB, free: 7.453 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.1085, allocations: 47.92 kB / 340.4 MB, free: 7.406 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.11, allocations: 1.223 MB / 341.7 MB, free: 6.141 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.1104, allocations: 0.7809 MB / 342.4 MB, free: 5.328 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.1105, allocations: 38.94 kB / 342.5 MB, free: 5.293 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.1105, allocations: 27.44 kB / 342.5 MB, free: 5.266 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1106, allocations: 0 / 342.5 MB, free: 5.266 MB / 286.1 MB Notification: Performance of Templates: time 0.0056/0.1162, allocations: 2.76 MB / 345.3 MB, free: 2.512 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches