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.0009632/0.0009632, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001011/0.001011, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9558/0.9558, allocations: 177.2 MB / 206.1 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] 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.323e-06/1.323e-06, allocations: 0 / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.027e-05, allocations: 6.312 kB / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003037/0.003057, allocations: 2.448 MB / 276.6 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007558/0.003813, allocations: 263.3 kB / 276.9 MB, free: 1.703 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.003933, allocations: 10.41 kB / 276.9 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.00407, allocations: 43.58 kB / 276.9 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.004234, allocations: 93.08 kB / 277 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.004392, allocations: 67.77 kB / 277.1 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.004665, allocations: 338.2 kB / 277.4 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.004815, allocations: 71.64 kB / 277.5 MB, free: 1.09 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.004992, allocations: 184.1 kB / 277.7 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.005134, allocations: 99.69 kB / 277.8 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.00517, allocations: 24.66 kB / 277.8 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.357e-05/0.005204, allocations: 28 kB / 277.8 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.005248, allocations: 55.81 kB / 277.9 MB, free: 0.707 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.312e-05/0.005331, allocations: 99.75 kB / 278 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.005559, allocations: 211.2 kB / 278.2 MB, free: 412 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005561, allocations: 0 / 278.2 MB, free: 412 kB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005561, allocations: 0 / 278.2 MB, free: 412 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.005565, allocations: 0 / 278.2 MB, free: 412 kB / 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.000623/0.006188, allocations: 0.6013 MB / 278.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.006227, allocations: 8.031 kB / 278.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.802e-05/0.006305, allocations: 52.75 kB / 278.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.006532, allocations: 192.9 kB / 279 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.006554, allocations: 21.03 kB / 279.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.006598, allocations: 32.33 kB / 279.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.006838, allocations: 198 kB / 279.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.006853, allocations: 4.172 kB / 279.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.006874, allocations: 16.38 kB / 279.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.006882, allocations: 4.375 kB / 279.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.007054, allocations: 95.77 kB / 279.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006987/0.007752, allocations: 0.6588 MB / 280.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.008006, allocations: 204.1 kB / 280.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.827e-05/0.008094, allocations: 75.31 kB / 280.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.00811, allocations: 15.94 kB / 280.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.008136, allocations: 42.02 kB / 280.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 2.434e-06/0.008139, allocations: 0 / 280.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001548/0.009686, allocations: 1.153 MB / 281.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.00973, allocations: 92.98 kB / 281.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.00985, allocations: 218.3 kB / 281.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.009872, allocations: 37.64 kB / 281.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.593e-05/0.009958, allocations: 191.5 kB / 282.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.01007, allocations: 186.3 kB / 282.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.249e-05/0.01016, allocations: 79.81 kB / 282.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.0103, allocations: 0.5117 MB / 282.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.994e-05/0.01037, allocations: 44.95 kB / 282.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.01048, allocations: 108.1 kB / 283 MB, free: 11.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.01068, allocations: 194.7 kB / 283.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01068, allocations: 0 / 283.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003137/0.011, allocations: 270.3 kB / 283.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.01101, allocations: 7.984 kB / 283.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01102, allocations: 0 / 283.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.01103, allocations: 4 kB / 283.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.0113, allocations: 99.84 kB / 283.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.01131, allocations: 15.91 kB / 283.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.843e-05/0.01138, allocations: 16.06 kB / 283.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.0114, allocations: 12 kB / 283.6 MB, free: 10.62 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.0001047/0.01151, allocations: 176.5 kB / 283.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-05/0.01158, allocations: 43.86 kB / 283.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.73e-05/0.01164, allocations: 33.97 kB / 283.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01164, allocations: 4 kB / 283.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.01165, allocations: 7.938 kB / 283.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002302/0.01188, allocations: 3.984 kB / 283.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008327/0.01271, allocations: 0.8074 MB / 284.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01271, allocations: 0 / 284.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.01301, allocations: 95.89 kB / 284.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.01301, allocations: 4 kB / 284.8 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.01303, allocations: 12 kB / 284.8 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.01303, allocations: 4 kB / 284.8 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01303, allocations: 0 / 284.8 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/0.01352, allocations: 0.6039 MB / 285.4 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.01355, allocations: 23.84 kB / 285.4 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.01358, allocations: 16.06 kB / 285.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.0137, allocations: 8 kB / 285.4 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.01374, allocations: 31.89 kB / 285.5 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.01376, allocations: 8 kB / 285.5 MB, free: 8.668 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.024e-05/0.01383, allocations: 163 kB / 285.6 MB, free: 8.508 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01383, allocations: 0 / 285.6 MB, free: 8.508 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003333/0.01416, allocations: 80 kB / 285.7 MB, free: 8.43 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 9.504e-05/0.01426, allocations: 111.1 kB / 285.8 MB, free: 8.312 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.01452, allocations: 203.8 kB / 286 MB, free: 8.109 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01452, allocations: 0 / 286 MB, free: 8.109 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.01464, allocations: 127.2 kB / 286.1 MB, free: 7.984 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.0151, allocations: 59.91 kB / 286.2 MB, free: 7.926 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009408/0.01604, allocations: 0.8136 MB / 287 MB, free: 7.074 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.871e-05/0.01612, allocations: 105.6 kB / 287.1 MB, free: 6.945 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.01623, allocations: 26.97 kB / 287.1 MB, free: 6.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.01639, allocations: 138.2 kB / 287.3 MB, free: 6.781 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01639, allocations: 0 / 287.3 MB, free: 6.781 MB / 266.7 MB Notification: Performance of Templates: time 0.005358/0.02175, allocations: 3.402 MB / 290.7 MB, free: 3.441 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 240] 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","",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.737491966690868]