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.001153/0.001153, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001094/0.001094, allocations: 168.9 kB / 25.69 MB, free: 8.453 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.8562/0.8562, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.563e-06/1.563e-06, allocations: 0 / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.871e-05, allocations: 2.312 kB / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003692/0.00371, allocations: 2.484 MB / 254 MB, free: 4.738 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006529/0.004363, allocations: 270.8 kB / 254.3 MB, free: 4.473 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.004492, allocations: 4 kB / 254.3 MB, free: 4.469 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.004648, allocations: 43.56 kB / 254.3 MB, free: 4.426 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.004845, allocations: 99.06 kB / 254.4 MB, free: 4.328 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.005031, allocations: 63.91 kB / 254.5 MB, free: 4.266 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.005405, allocations: 338.2 kB / 254.8 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.005578, allocations: 74.2 kB / 254.9 MB, free: 3.855 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.005793, allocations: 187.6 kB / 255.1 MB, free: 3.672 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.005965, allocations: 87.77 kB / 255.2 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.00601, allocations: 28 kB / 255.2 MB, free: 3.559 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.704e-05/0.006057, allocations: 24 kB / 255.2 MB, free: 3.535 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.713e-05/0.006114, allocations: 63.73 kB / 255.3 MB, free: 3.473 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.006221, allocations: 103.7 kB / 255.4 MB, free: 3.371 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.006506, allocations: 211.2 kB / 255.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.006508, allocations: 0 / 255.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.006509, allocations: 4 kB / 255.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.006515, allocations: 0 / 255.6 MB, free: 3.16 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.0006559/0.007171, allocations: 484.1 kB / 256.1 MB, free: 2.66 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.007208, allocations: 11.98 kB / 256.1 MB, free: 2.648 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.758e-05/0.007286, allocations: 48.89 kB / 256.1 MB, free: 2.602 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.007524, allocations: 169.4 kB / 256.3 MB, free: 2.41 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.007547, allocations: 21.03 kB / 256.3 MB, free: 2.391 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.007593, allocations: 28.33 kB / 256.3 MB, free: 2.363 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.007874, allocations: 208.2 kB / 256.6 MB, free: 2.148 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.007896, allocations: 4.172 kB / 256.6 MB, free: 2.145 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.007917, allocations: 12.38 kB / 256.6 MB, free: 2.133 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.007928, allocations: 4.375 kB / 256.6 MB, free: 2.129 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.008088, allocations: 83.86 kB / 256.7 MB, free: 2.047 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007463/0.008834, allocations: 499.9 kB / 257.1 MB, free: 1.539 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.009099, allocations: 183.8 kB / 257.3 MB, free: 1.344 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.658e-05/0.009196, allocations: 57.7 kB / 257.4 MB, free: 1.281 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.009213, allocations: 8 kB / 257.4 MB, free: 1.273 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.009246, allocations: 46.44 kB / 257.4 MB, free: 1.219 MB / 234.7 MB Notification: Performance of pre-optimization done (n=36): time 1.934e-06/0.009248, allocations: 0 / 257.4 MB, free: 1.219 MB / 234.7 MB Notification: Performance of matching and sorting (n=48): time 0.001757/0.01101, allocations: 1.166 MB / 258.6 MB, free: 15.95 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.01105, allocations: 85.11 kB / 258.7 MB, free: 15.85 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.01115, allocations: 170.5 kB / 258.8 MB, free: 15.67 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.01117, allocations: 37.7 kB / 258.9 MB, free: 15.63 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.01123, allocations: 132.8 kB / 259 MB, free: 15.5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/0.01131, allocations: 182.4 kB / 259.2 MB, free: 15.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.972e-05/0.01138, allocations: 78.14 kB / 259.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.01148, allocations: 338.8 kB / 259.6 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.54e-05/0.01152, allocations: 44.92 kB / 259.6 MB, free: 14.85 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.943e-05/0.0116, allocations: 96.81 kB / 259.7 MB, free: 14.74 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.01174, allocations: 177.9 kB / 259.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01174, allocations: 0 / 259.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0001842/0.01193, allocations: 214.4 kB / 260.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.01194, allocations: 4 kB / 260.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.01194, allocations: 7.938 kB / 260.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.01196, allocations: 0 / 260.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.01221, allocations: 127.8 kB / 260.3 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.01221, allocations: 4 kB / 260.3 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.01227, allocations: 12 kB / 260.3 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.01228, allocations: 12 kB / 260.3 MB, free: 14.18 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 9.213e-05/0.01237, allocations: 133.7 kB / 260.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.01242, allocations: 35.97 kB / 260.5 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.01246, allocations: 33.97 kB / 260.5 MB, free: 13.97 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.01246, allocations: 11.94 kB / 260.5 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.01247, allocations: 4 kB / 260.5 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.01247, allocations: 3.984 kB / 260.5 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.01301, allocations: 0.6004 MB / 261.1 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01301, allocations: 0 / 261.1 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.01326, allocations: 119.7 kB / 261.2 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.01327, allocations: 4 kB / 261.2 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.01328, allocations: 16.06 kB / 261.2 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01328, allocations: 0 / 261.2 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01329, allocations: 4 kB / 261.2 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.0136, allocations: 473.4 kB / 261.7 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.01362, allocations: 19.86 kB / 261.7 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.01364, allocations: 8 kB / 261.7 MB, free: 12.67 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.202e-05/0.01372, allocations: 8 kB / 261.7 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.01376, allocations: 35.88 kB / 261.8 MB, free: 12.63 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.01377, allocations: 4 kB / 261.8 MB, free: 12.62 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.895e-05/0.0138, allocations: 44.81 kB / 261.8 MB, free: 12.58 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0138, allocations: 4 kB / 261.8 MB, free: 12.57 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001978/0.01399, allocations: 76 kB / 261.9 MB, free: 12.5 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 9.37e-05/0.01409, allocations: 92.3 kB / 262 MB, free: 12.4 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.01432, allocations: 181 kB / 262.2 MB, free: 12.21 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.01433, allocations: 4 kB / 262.2 MB, free: 12.21 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.04e-05/0.01441, allocations: 110.4 kB / 262.3 MB, free: 12.1 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.01471, allocations: 76.2 kB / 262.4 MB, free: 12.03 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/0.01536, allocations: 0.66 MB / 263 MB, free: 11.34 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.049e-05/0.01542, allocations: 105.5 kB / 263.1 MB, free: 11.21 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.692e-05/0.0155, allocations: 34.97 kB / 263.2 MB, free: 11.17 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.01563, allocations: 119.3 kB / 263.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01563, allocations: 0 / 263.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of Templates: time 0.004955/0.02059, allocations: 3.485 MB / 266.8 MB, free: 7.602 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 -s gbode -gbm=radauIIA3 -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.632725181058049]