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.0009569/0.0009569, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001047/0.001047, allocations: 170.1 kB / 25.33 MB, free: 8.008 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 0.9304/0.9304, allocations: 158.6 MB / 187.2 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] 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.683e-06/1.683e-06, allocations: 0 / 251 MB, free: 7.531 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.745e-05, allocations: 2.312 kB / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.005938/0.005956, allocations: 2.464 MB / 253.5 MB, free: 5.047 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005401/0.006496, allocations: 255.1 kB / 253.7 MB, free: 4.797 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.006609, allocations: 7.938 kB / 253.7 MB, free: 4.789 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.006751, allocations: 43.58 kB / 253.8 MB, free: 4.746 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.006912, allocations: 103 kB / 253.9 MB, free: 4.645 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.01014, allocations: 67.89 kB / 254 MB, free: 4.578 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003633/0.0105, allocations: 334.2 kB / 254.3 MB, free: 4.25 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.01069, allocations: 71.64 kB / 254.3 MB, free: 4.176 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.0109, allocations: 183.6 kB / 254.5 MB, free: 3.996 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.01107, allocations: 99.69 kB / 254.6 MB, free: 3.898 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.989e-05/0.01112, allocations: 24 kB / 254.6 MB, free: 3.875 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.455e-05/0.01117, allocations: 24 kB / 254.7 MB, free: 3.852 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.447e-05/0.01122, allocations: 59.75 kB / 254.7 MB, free: 3.793 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.01133, allocations: 103.8 kB / 254.8 MB, free: 3.691 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.01162, allocations: 215.1 kB / 255 MB, free: 3.48 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.01162, allocations: 0 / 255 MB, free: 3.48 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01163, allocations: 0 / 255 MB, free: 3.48 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.01163, allocations: 0 / 255 MB, free: 3.48 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.0007029/0.01233, allocations: 0.5975 MB / 255.6 MB, free: 2.84 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.01237, allocations: 11.98 kB / 255.7 MB, free: 2.828 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.043e-05/0.01245, allocations: 52.75 kB / 255.7 MB, free: 2.777 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.01267, allocations: 192.1 kB / 255.9 MB, free: 2.562 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.01269, allocations: 21.03 kB / 255.9 MB, free: 2.543 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.01273, allocations: 28.38 kB / 255.9 MB, free: 2.516 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004304/0.01703, allocations: 210 kB / 256.1 MB, free: 2.297 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.01705, allocations: 8.141 kB / 256.2 MB, free: 2.289 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.01707, allocations: 12.31 kB / 256.2 MB, free: 2.277 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.01709, allocations: 8.375 kB / 256.2 MB, free: 2.27 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.01728, allocations: 119.8 kB / 256.3 MB, free: 2.152 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007538/0.01803, allocations: 0.6857 MB / 257 MB, free: 1.426 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.01833, allocations: 225.8 kB / 257.2 MB, free: 1.18 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.01844, allocations: 83.33 kB / 257.3 MB, free: 1.09 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.01846, allocations: 15.94 kB / 257.3 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.01848, allocations: 37.39 kB / 257.3 MB, free: 1.027 MB / 234.7 MB Notification: Performance of pre-optimization done (n=36): time 1.403e-06/0.01848, allocations: 0 / 257.3 MB, free: 1.027 MB / 234.7 MB Notification: Performance of matching and sorting (n=48): time 0.001785/0.02027, allocations: 1.286 MB / 258.6 MB, free: 15.62 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.02031, allocations: 85.11 kB / 258.7 MB, free: 15.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.02044, allocations: 229.8 kB / 258.9 MB, free: 15.28 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.02046, allocations: 29.7 kB / 259 MB, free: 15.25 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.767e-05/0.02055, allocations: 195.5 kB / 259.1 MB, free: 15.05 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.02066, allocations: 174.4 kB / 259.3 MB, free: 14.88 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/0.02075, allocations: 79.84 kB / 259.4 MB, free: 14.8 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.0209, allocations: 0.5079 MB / 259.9 MB, free: 14.28 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.02103, allocations: 60.95 kB / 260 MB, free: 14.22 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.02118, allocations: 124.2 kB / 260.1 MB, free: 14.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.02148, allocations: 213.3 kB / 260.3 MB, free: 13.85 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.02148, allocations: 0 / 260.3 MB, free: 13.85 MB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004554/0.02194, allocations: 310.2 kB / 260.6 MB, free: 13.54 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.02195, allocations: 4 kB / 260.6 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.02196, allocations: 0 / 260.6 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.02198, allocations: 7.938 kB / 260.6 MB, free: 13.53 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.02232, allocations: 95.89 kB / 260.7 MB, free: 13.44 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.02233, allocations: 4 kB / 260.7 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.537e-05/0.02242, allocations: 12 kB / 260.7 MB, free: 13.42 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.02245, allocations: 12 kB / 260.7 MB, free: 13.41 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.0001313/0.02258, allocations: 196.4 kB / 260.9 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.22e-05/0.02266, allocations: 39.86 kB / 261 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.146e-05/0.02272, allocations: 37.97 kB / 261 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.02273, allocations: 7.938 kB / 261 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.003342/0.02607, allocations: 0 / 261 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.02608, allocations: 7.969 kB / 261 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009085/0.02699, allocations: 0.8623 MB / 261.9 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.02699, allocations: 4.062 kB / 261.9 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.0273, allocations: 91.89 kB / 262 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.0273, allocations: 4 kB / 262 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.02732, allocations: 12 kB / 262 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.02733, allocations: 3.938 kB / 262 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.02733, allocations: 4 kB / 262 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005559/0.02789, allocations: 0.6429 MB / 262.6 MB, free: 11.41 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.02791, allocations: 19.86 kB / 262.6 MB, free: 11.39 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.02794, allocations: 12 kB / 262.7 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.02806, allocations: 8 kB / 262.7 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.02811, allocations: 43.81 kB / 262.7 MB, free: 11.33 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.02813, allocations: 8 kB / 262.7 MB, free: 11.32 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.345e-05/0.0282, allocations: 163.2 kB / 262.9 MB, free: 11.16 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0282, allocations: 0 / 262.9 MB, free: 11.16 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003251/0.02852, allocations: 76 kB / 263 MB, free: 11.09 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 8.537e-05/0.02861, allocations: 111.2 kB / 263.1 MB, free: 10.97 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.02894, allocations: 223.8 kB / 263.3 MB, free: 10.75 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02894, allocations: 128 / 263.3 MB, free: 10.75 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.02909, allocations: 137.2 kB / 263.4 MB, free: 10.61 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.02955, allocations: 63.95 kB / 263.5 MB, free: 10.55 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.03061, allocations: 0.8186 MB / 264.3 MB, free: 9.691 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.078e-05/0.03069, allocations: 101.6 kB / 264.4 MB, free: 9.57 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.412e-05/0.03078, allocations: 30.97 kB / 264.4 MB, free: 9.535 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.03085, allocations: 28.5 kB / 264.5 MB, free: 9.504 MB / 250.7 MB Notification: Performance of SimCode: time 4.11e-07/0.03085, allocations: 0 / 264.5 MB, free: 9.504 MB / 250.7 MB Notification: Performance of Templates: time 0.005949/0.0368, allocations: 3.192 MB / 267.6 MB, free: 6.336 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6465489608235657]