Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001414/0.001414, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001461/0.001461, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 325 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.089e-05, allocations: 6.219 kB / 325 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003302/0.003322, allocations: 2.334 MB / 327.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005682/0.003891, allocations: 258.3 kB / 327.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.004011, allocations: 9.156 kB / 327.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.004165, allocations: 44.55 kB / 327.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.00435, allocations: 96.27 kB / 327.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.004547, allocations: 61.2 kB / 327.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.004895, allocations: 338.8 kB / 328.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.005072, allocations: 75.55 kB / 328.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.005313, allocations: 187.5 kB / 328.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.005481, allocations: 93.48 kB / 328.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.005523, allocations: 24.53 kB / 328.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.175e-05/0.005575, allocations: 24.81 kB / 328.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.005638, allocations: 57.45 kB / 328.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.005761, allocations: 99.59 kB / 328.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000395/0.006156, allocations: 321.1 kB / 329 MB, free: 14.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.006159, allocations: 0 / 329 MB, free: 14.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.006161, allocations: 1.125 kB / 329 MB, free: 14.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.006166, allocations: 0 / 329 MB, free: 14.12 MB / 302.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.0008556/0.007022, allocations: 0.4942 MB / 329.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.007053, allocations: 9.875 kB / 329.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.007126, allocations: 32.34 kB / 329.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.007407, allocations: 186.1 kB / 329.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.007434, allocations: 27.56 kB / 329.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.007486, allocations: 30.09 kB / 329.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.007926, allocations: 255.6 kB / 330.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.007945, allocations: 2.047 kB / 330.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.007974, allocations: 11.59 kB / 330.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.007982, allocations: 6.906 kB / 330.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.008317, allocations: 178.4 kB / 330.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.009319, allocations: 0.6098 MB / 330.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.009761, allocations: 267.2 kB / 331.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.009946, allocations: 119.8 kB / 331.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.009967, allocations: 3.312 kB / 331.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.01, allocations: 41.38 kB / 331.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.724e-06/0.01001, allocations: 1.219 kB / 331.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002728/0.01273, allocations: 1.424 MB / 332.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.0128, allocations: 85.83 kB / 332.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.01297, allocations: 164.4 kB / 333 MB, free: 11.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.013, allocations: 30.86 kB / 333 MB, free: 11.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.0131, allocations: 143.6 kB / 333.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.01326, allocations: 190.2 kB / 333.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.01337, allocations: 72.14 kB / 333.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.01355, allocations: 341.2 kB / 333.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.01373, allocations: 103.9 kB / 333.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.01395, allocations: 153.4 kB / 334 MB, free: 10.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.01437, allocations: 285.2 kB / 334.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01438, allocations: 0 / 334.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005487/0.01492, allocations: 364.9 kB / 334.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.01494, allocations: 9.547 kB / 334.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01495, allocations: 1.375 kB / 334.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.01497, allocations: 10.72 kB / 334.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.01536, allocations: 101.6 kB / 334.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.01537, allocations: 6.953 kB / 334.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.01549, allocations: 10.81 kB / 334.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.01551, allocations: 14.09 kB / 334.8 MB, free: 10.11 MB / 302.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.000167/0.01568, allocations: 148.5 kB / 334.9 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.01576, allocations: 24.7 kB / 334.9 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.76e-05/0.01584, allocations: 34.22 kB / 335 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.01585, allocations: 9.094 kB / 335 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.01586, allocations: 1.406 kB / 335 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.01587, allocations: 7.984 kB / 335 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.01719, allocations: 0.8303 MB / 335.8 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.01719, allocations: 1.406 kB / 335.8 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.01762, allocations: 95.42 kB / 335.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.01762, allocations: 2.875 kB / 335.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.01765, allocations: 12.38 kB / 335.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.01766, allocations: 2.781 kB / 335.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.01766, allocations: 5.469 kB / 335.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008275/0.01848, allocations: 0.6487 MB / 336.6 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.01853, allocations: 23.75 kB / 336.6 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.01857, allocations: 15.66 kB / 336.6 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.01876, allocations: 13.59 kB / 336.6 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.01881, allocations: 30.81 kB / 336.7 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.01883, allocations: 17.84 kB / 336.7 MB, free: 8.762 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.01893, allocations: 128.2 kB / 336.8 MB, free: 8.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01893, allocations: 0 / 336.8 MB, free: 8.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003963/0.01933, allocations: 81.12 kB / 336.9 MB, free: 8.645 MB / 302.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.0001366/0.01947, allocations: 113.4 kB / 337 MB, free: 8.543 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004558/0.01992, allocations: 279 kB / 337.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01992, allocations: 0 / 337.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.02014, allocations: 151.8 kB / 337.4 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.02074, allocations: 61.42 kB / 337.5 MB, free: 8.328 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.02211, allocations: 0.8104 MB / 338.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.02229, allocations: 168.6 kB / 338.4 MB, free: 7.312 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.02241, allocations: 38.94 kB / 338.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.0225, allocations: 28.5 kB / 338.5 MB, free: 7.246 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.0225, allocations: 3.938 kB / 338.5 MB, free: 7.242 MB / 302.1 MB Notification: Performance of Templates: time 0.007462/0.02996, allocations: 3.009 MB / 341.5 MB, free: 4.285 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.247763395309448]