Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002099/0.002099, allocations: 149.4 kB / 24.25 MB, free: 188 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 173.4 MB / 200.8 MB, free: 9.293 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=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.0.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.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.05e-05, allocations: 6.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003774/0.003804, allocations: 2.314 MB / 269.6 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005577/0.004362, allocations: 255 kB / 269.9 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.004474, allocations: 7.938 kB / 269.9 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.004664, allocations: 39.58 kB / 269.9 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.004872, allocations: 103.1 kB / 270 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.005072, allocations: 63.89 kB / 270.1 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004035/0.005476, allocations: 342.1 kB / 270.4 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.00567, allocations: 67.64 kB / 270.5 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.005922, allocations: 179.6 kB / 270.7 MB, free: 3.352 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.00611, allocations: 103.7 kB / 270.8 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/0.006158, allocations: 24 kB / 270.8 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.259e-05/0.006211, allocations: 24 kB / 270.8 MB, free: 3.203 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.006272, allocations: 51.83 kB / 270.9 MB, free: 3.152 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.006411, allocations: 107.7 kB / 271 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006611/0.007072, allocations: 318.9 kB / 271.3 MB, free: 2.734 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.007075, allocations: 0 / 271.3 MB, free: 2.734 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.007076, allocations: 0 / 271.3 MB, free: 2.734 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.007082, allocations: 0 / 271.3 MB, free: 2.734 MB / 250.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.0008759/0.007957, allocations: 0.4937 MB / 271.8 MB, free: 2.207 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.007993, allocations: 12.92 kB / 271.8 MB, free: 2.195 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.008102, allocations: 60.64 kB / 271.8 MB, free: 2.137 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.008426, allocations: 189.4 kB / 272 MB, free: 1.926 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.008454, allocations: 21.03 kB / 272 MB, free: 1.902 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.931e-05/0.008514, allocations: 28.33 kB / 272.1 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/0.008978, allocations: 260.3 kB / 272.3 MB, free: 1.609 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.008998, allocations: 4.188 kB / 272.3 MB, free: 1.605 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.009025, allocations: 8.375 kB / 272.3 MB, free: 1.598 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.009036, allocations: 8.375 kB / 272.3 MB, free: 1.59 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.009365, allocations: 179.8 kB / 272.5 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.01042, allocations: 0.6134 MB / 273.1 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.01088, allocations: 271.4 kB / 273.4 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.01107, allocations: 113.7 kB / 273.5 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.0111, allocations: 4 kB / 273.5 MB, free: 376 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.01114, allocations: 42.5 kB / 273.6 MB, free: 324 kB / 250.7 MB Notification: Performance of pre-optimization done (n=36): time 1.363e-06/0.01114, allocations: 0 / 273.6 MB, free: 324 kB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.002784/0.01392, allocations: 1.424 MB / 275 MB, free: 14.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.01399, allocations: 89.09 kB / 275.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.01417, allocations: 162.8 kB / 275.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.0142, allocations: 29.7 kB / 275.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.01432, allocations: 144.8 kB / 275.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.01449, allocations: 186.4 kB / 275.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.0146, allocations: 70.2 kB / 275.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.0148, allocations: 342.8 kB / 276 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.01499, allocations: 101 kB / 276.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.01524, allocations: 164.8 kB / 276.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.0157, allocations: 286 kB / 276.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.0157, allocations: 0 / 276.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006188/0.01632, allocations: 386 kB / 276.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.01633, allocations: 4 kB / 276.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.01634, allocations: 3.984 kB / 276.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.01636, allocations: 7.938 kB / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.01677, allocations: 95.91 kB / 277 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.01677, allocations: 8.062 kB / 277 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.01689, allocations: 12 kB / 277 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.01691, allocations: 15.98 kB / 277 MB, free: 12.64 MB / 266.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.0001705/0.01708, allocations: 153.7 kB / 277.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/0.01718, allocations: 39.86 kB / 277.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.318e-05/0.01727, allocations: 37.97 kB / 277.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.01728, allocations: 7.938 kB / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.01729, allocations: 0 / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.0173, allocations: 7.969 kB / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.01888, allocations: 0.8349 MB / 278.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.01889, allocations: 4 kB / 278.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.01932, allocations: 99.83 kB / 278.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01933, allocations: 0 / 278.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.01936, allocations: 8 kB / 278.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.01936, allocations: 4 kB / 278.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01936, allocations: 0 / 278.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008971/0.02026, allocations: 0.6529 MB / 278.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.0203, allocations: 27.86 kB / 278.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.02034, allocations: 8 kB / 278.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.02052, allocations: 12 kB / 278.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.02057, allocations: 31.88 kB / 279 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.02059, allocations: 12 kB / 279 MB, free: 10.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.0207, allocations: 124.3 kB / 279.1 MB, free: 10.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0207, allocations: 0 / 279.1 MB, free: 10.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003754/0.02108, allocations: 87.94 kB / 279.2 MB, free: 10.42 MB / 266.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.0001346/0.02121, allocations: 107.2 kB / 279.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004943/0.0217, allocations: 287.6 kB / 279.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.02171, allocations: 0 / 279.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.02193, allocations: 150.4 kB / 279.7 MB, free: 9.879 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.0225, allocations: 64.05 kB / 279.8 MB, free: 9.816 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.02388, allocations: 0.8394 MB / 280.6 MB, free: 8.945 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.02407, allocations: 168.8 kB / 280.8 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.0242, allocations: 34.95 kB / 280.8 MB, free: 8.727 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.266e-05/0.02428, allocations: 28.5 kB / 280.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of SimCode: time 4e-07/0.02428, allocations: 0 / 280.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of Templates: time 0.00714/0.03142, allocations: 3.023 MB / 283.9 MB, free: 5.723 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.351970079005696]