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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 96.31 kB / 21.73 MB, free: 2.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002106/0.002106, allocations: 157.9 kB / 25.02 MB, free: 8.969 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 250.3 MB, free: 7.859 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.206e-05/3.382e-05, allocations: 5.828 kB / 250.3 MB, free: 7.855 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004212/0.004245, allocations: 2.293 MB / 252.6 MB, free: 5.547 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007945/0.00504, allocations: 259 kB / 252.9 MB, free: 5.293 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.00519, allocations: 8 kB / 252.9 MB, free: 5.285 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.005403, allocations: 39.58 kB / 252.9 MB, free: 5.246 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.00569, allocations: 99.08 kB / 253 MB, free: 5.148 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.005931, allocations: 63.83 kB / 253.1 MB, free: 5.086 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005209/0.006452, allocations: 342.2 kB / 253.4 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.006696, allocations: 71.64 kB / 253.5 MB, free: 4.676 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.00702, allocations: 175.7 kB / 253.7 MB, free: 4.504 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.007281, allocations: 99.67 kB / 253.8 MB, free: 4.406 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.941e-05/0.007351, allocations: 24 kB / 253.8 MB, free: 4.383 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-05/0.007425, allocations: 31.94 kB / 253.8 MB, free: 4.352 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.799e-05/0.007513, allocations: 55.81 kB / 253.9 MB, free: 4.297 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.007712, allocations: 103.8 kB / 254 MB, free: 4.195 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005997/0.008311, allocations: 315 kB / 254.3 MB, free: 3.887 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.008317, allocations: 0 / 254.3 MB, free: 3.887 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.008319, allocations: 0 / 254.3 MB, free: 3.887 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.008326, allocations: 4 kB / 254.3 MB, free: 3.883 MB / 234.7 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.001188/0.009515, allocations: 0.4937 MB / 254.8 MB, free: 3.352 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.009566, allocations: 15.97 kB / 254.8 MB, free: 3.336 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.009705, allocations: 52.75 kB / 254.9 MB, free: 3.285 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.01017, allocations: 193.3 kB / 255 MB, free: 3.07 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.0102, allocations: 21.02 kB / 255.1 MB, free: 3.051 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.118e-05/0.01028, allocations: 28.38 kB / 255.1 MB, free: 3.023 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006369/0.01092, allocations: 256.3 kB / 255.3 MB, free: 2.762 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.01094, allocations: 192 / 255.3 MB, free: 2.762 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.193e-05/0.01098, allocations: 12.38 kB / 255.4 MB, free: 2.75 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.011, allocations: 8.375 kB / 255.4 MB, free: 2.742 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004677/0.01147, allocations: 175.8 kB / 255.5 MB, free: 2.57 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.01291, allocations: 0.6212 MB / 256.2 MB, free: 1.914 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006316/0.01354, allocations: 264.8 kB / 256.4 MB, free: 1.641 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.01381, allocations: 109.7 kB / 256.5 MB, free: 1.527 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.01385, allocations: 11.94 kB / 256.5 MB, free: 1.516 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.439e-05/0.0139, allocations: 42.55 kB / 256.6 MB, free: 1.465 MB / 234.7 MB Notification: Performance of pre-optimization done (n=36): time 2.144e-06/0.01391, allocations: 0 / 256.6 MB, free: 1.465 MB / 234.7 MB Notification: Performance of matching and sorting (n=48): time 0.003817/0.01772, allocations: 1.428 MB / 258 MB, free: 15.94 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.0178, allocations: 81.11 kB / 258.1 MB, free: 15.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.01806, allocations: 170.8 kB / 258.2 MB, free: 15.66 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.0181, allocations: 37.64 kB / 258.3 MB, free: 15.62 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.01825, allocations: 144.8 kB / 258.4 MB, free: 15.47 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.01847, allocations: 178.4 kB / 258.6 MB, free: 15.3 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.01865, allocations: 86.19 kB / 258.7 MB, free: 15.21 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002344/0.01888, allocations: 330.8 kB / 259 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.01915, allocations: 109 kB / 259.1 MB, free: 14.77 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.0195, allocations: 156.8 kB / 259.3 MB, free: 14.6 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00062/0.02012, allocations: 278.1 kB / 259.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.02012, allocations: 0 / 259.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001016/0.02113, allocations: 386.2 kB / 259.9 MB, free: 13.93 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.02116, allocations: 8 kB / 259.9 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.02117, allocations: 4.062 kB / 259.9 MB, free: 13.92 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.587e-05/0.02122, allocations: 7.938 kB / 259.9 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.0218, allocations: 103.8 kB / 260 MB, free: 13.81 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.02181, allocations: 4 kB / 260 MB, free: 13.81 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.02199, allocations: 8 kB / 260 MB, free: 13.8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.02203, allocations: 16 kB / 260.1 MB, free: 13.79 MB / 250.7 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.0002343/0.02226, allocations: 149.8 kB / 260.2 MB, free: 13.63 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.0224, allocations: 39.84 kB / 260.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.02251, allocations: 37.97 kB / 260.3 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.02252, allocations: 11.94 kB / 260.3 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.02253, allocations: 4 kB / 260.3 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.02254, allocations: 3.984 kB / 260.3 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.02447, allocations: 0.8264 MB / 261.1 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.02448, allocations: 3.984 kB / 261.1 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/0.02507, allocations: 91.91 kB / 261.2 MB, free: 12.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.671e-05/0.02508, allocations: 4 kB / 261.2 MB, free: 12.57 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.02512, allocations: 8 kB / 261.2 MB, free: 12.56 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/0.02513, allocations: 7.984 kB / 261.2 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/0.02514, allocations: 8.047 kB / 261.3 MB, free: 12.54 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.02638, allocations: 0.6566 MB / 261.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.02643, allocations: 27.81 kB / 261.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.714e-05/0.02649, allocations: 8 kB / 261.9 MB, free: 11.83 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.02678, allocations: 12 kB / 262 MB, free: 11.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/0.02686, allocations: 39.81 kB / 262 MB, free: 11.78 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.02689, allocations: 8 kB / 262 MB, free: 11.77 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001595/0.02705, allocations: 119.2 kB / 262.1 MB, free: 11.65 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.02705, allocations: 0 / 262.1 MB, free: 11.65 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005928/0.02764, allocations: 80 kB / 262.2 MB, free: 11.57 MB / 250.7 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.0001846/0.02783, allocations: 111.2 kB / 262.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007076/0.02854, allocations: 287.9 kB / 262.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.02854, allocations: 0 / 262.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.02887, allocations: 155.6 kB / 262.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008525/0.02972, allocations: 72.25 kB / 262.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.03167, allocations: 0.8239 MB / 263.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.03192, allocations: 168.8 kB / 263.8 MB, free: 9.91 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001853/0.0321, allocations: 34.95 kB / 263.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.03222, allocations: 28.5 kB / 263.9 MB, free: 9.844 MB / 250.7 MB Notification: Performance of SimCode: time 1.072e-06/0.03222, allocations: 0 / 263.9 MB, free: 9.844 MB / 250.7 MB Notification: Performance of Templates: time 0.01058/0.0428, allocations: 3.012 MB / 266.9 MB, free: 6.855 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.440702173975296]