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.00104/0.00104, allocations: 96.52 kB / 17.58 MB, free: 5.453 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.001119/0.00112, allocations: 192.2 kB / 18.51 MB, free: 4.527 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.444/1.444, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001661/0.001661, allocations: 52.14 kB / 280.6 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.105, allocations: 46.63 MB / 327.3 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004009/0.109, allocations: 2.463 MB / 329.7 MB, free: 2 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005022/0.1096, allocations: 255 kB / 330 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.1097, allocations: 4 kB / 330 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.1099, allocations: 39.58 kB / 330 MB, free: 1.707 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.11, allocations: 99.05 kB / 330.1 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.1102, allocations: 67.84 kB / 330.2 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.1105, allocations: 322.5 kB / 330.5 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.1107, allocations: 95.39 kB / 330.6 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.1108, allocations: 119.6 kB / 330.7 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.111, allocations: 127.5 kB / 330.8 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.64e-05/0.111, allocations: 24 kB / 330.9 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.218e-05/0.1111, allocations: 24 kB / 330.9 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.1111, allocations: 59.77 kB / 330.9 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.1112, allocations: 143.3 kB / 331.1 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.1115, allocations: 322.7 kB / 331.4 MB, free: 336 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1116, allocations: 0 / 331.4 MB, free: 336 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1116, allocations: 0 / 331.4 MB, free: 336 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1116, allocations: 0 / 331.4 MB, free: 336 kB / 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.000758/0.1123, allocations: 0.5576 MB / 332 MB, free: 15.72 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1124, allocations: 12.03 kB / 332 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.1124, allocations: 32.56 kB / 332 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1127, allocations: 255.7 kB / 332.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.1127, allocations: 20.94 kB / 332.3 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.1128, allocations: 28.38 kB / 332.3 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.1131, allocations: 259.1 kB / 332.6 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1132, allocations: 192 / 332.6 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.1132, allocations: 15.94 kB / 332.6 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.1132, allocations: 4 kB / 332.6 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.1135, allocations: 179.8 kB / 332.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008892/0.1144, allocations: 0.7539 MB / 333.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.1147, allocations: 265 kB / 333.8 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.1149, allocations: 136.9 kB / 333.9 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.1149, allocations: 4 kB / 333.9 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.115, allocations: 38.56 kB / 333.9 MB, free: 13.61 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.312e-06/0.115, allocations: 0 / 333.9 MB, free: 13.61 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002426/0.1174, allocations: 1.704 MB / 335.6 MB, free: 11.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.1175, allocations: 81.11 kB / 335.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.1176, allocations: 182.3 kB / 335.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.1177, allocations: 37.7 kB / 335.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.1178, allocations: 140.7 kB / 336.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.1179, allocations: 173.5 kB / 336.2 MB, free: 11.08 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.726e-05/0.118, allocations: 74.25 kB / 336.3 MB, free: 11 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1181, allocations: 334.8 kB / 336.6 MB, free: 10.67 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.1182, allocations: 109 kB / 336.8 MB, free: 10.56 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.1184, allocations: 157.5 kB / 336.9 MB, free: 10.39 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.1188, allocations: 290.1 kB / 337.2 MB, free: 10.1 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1188, allocations: 0 / 337.2 MB, free: 10.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004559/0.1193, allocations: 369.8 kB / 337.5 MB, free: 9.73 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1193, allocations: 8 kB / 337.6 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.1193, allocations: 0 / 337.6 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1193, allocations: 7.938 kB / 337.6 MB, free: 9.715 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.1197, allocations: 107.9 kB / 337.7 MB, free: 9.609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1197, allocations: 4 kB / 337.7 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.1198, allocations: 12 kB / 337.7 MB, free: 9.594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.1199, allocations: 12 kB / 337.7 MB, free: 9.582 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.12, allocations: 157.7 kB / 337.9 MB, free: 9.418 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.1201, allocations: 31.64 kB / 337.9 MB, free: 9.387 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.357e-05/0.1201, allocations: 37.86 kB / 337.9 MB, free: 9.352 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1201, allocations: 8 kB / 337.9 MB, free: 9.344 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1202, allocations: 4 kB / 337.9 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.1202, allocations: 3.984 kB / 337.9 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.1214, allocations: 0.9517 MB / 338.9 MB, free: 8.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1215, allocations: 7.938 kB / 338.9 MB, free: 8.312 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.1219, allocations: 95.89 kB / 339 MB, free: 8.219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1219, allocations: 4 kB / 339 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.1219, allocations: 4 kB / 339 MB, free: 8.211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1219, allocations: 4 kB / 339 MB, free: 8.207 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1219, allocations: 0 / 339 MB, free: 8.207 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007112/0.1226, allocations: 0.6473 MB / 339.6 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.1227, allocations: 100.8 kB / 339.7 MB, free: 7.41 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.1227, allocations: 8 kB / 339.8 MB, free: 7.402 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.1229, allocations: 12 kB / 339.8 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.123, allocations: 27.83 kB / 339.8 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.123, allocations: 11.98 kB / 339.8 MB, free: 7.352 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.917e-05/0.1231, allocations: 136.3 kB / 339.9 MB, free: 7.219 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1231, allocations: 0 / 339.9 MB, free: 7.219 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003587/0.1235, allocations: 80 kB / 340 MB, free: 7.141 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 (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.0001285/0.1236, allocations: 107.2 kB / 340.1 MB, free: 7.027 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005062/0.1241, allocations: 314.7 kB / 340.4 MB, free: 6.723 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1241, allocations: 0 / 340.4 MB, free: 6.723 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.1243, allocations: 168.6 kB / 340.6 MB, free: 6.559 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.125, allocations: 67.83 kB / 340.7 MB, free: 6.492 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.1265, allocations: 1.005 MB / 341.7 MB, free: 5.453 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.1268, allocations: 0.7803 MB / 342.4 MB, free: 4.648 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.1269, allocations: 26.97 kB / 342.5 MB, free: 4.625 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.127, allocations: 31.44 kB / 342.5 MB, free: 4.594 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.127, allocations: 4 kB / 342.5 MB, free: 4.59 MB / 286.1 MB Notification: Performance of Templates: time 0.006192/0.1332, allocations: 3.048 MB / 345.6 MB, free: 1.547 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (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) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches