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.0009568/0.0009568, allocations: 85.08 kB / 23 MB, free: 1.504 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.0009063/0.0009063, allocations: 177.5 kB / 26.39 MB, free: 7.984 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.8518/0.8518, allocations: 158.6 MB / 188.3 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.242e-06/1.242e-06, allocations: 0 / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.393e-05, allocations: 2.312 kB / 252.2 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.005677/0.005691, allocations: 2.425 MB / 254.7 MB, free: 4.816 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004118/0.006103, allocations: 251 kB / 254.9 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.554e-05/0.006198, allocations: 7.938 kB / 254.9 MB, free: 4.562 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.006316, allocations: 47.52 kB / 255 MB, free: 4.516 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.006442, allocations: 99.12 kB / 255.1 MB, free: 4.418 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.006571, allocations: 59.91 kB / 255.1 MB, free: 4.359 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.006777, allocations: 338.2 kB / 255.4 MB, free: 4.027 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.006903, allocations: 67.64 kB / 255.5 MB, free: 3.957 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.007037, allocations: 187.6 kB / 255.7 MB, free: 3.773 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.007155, allocations: 103.7 kB / 255.8 MB, free: 3.672 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.007184, allocations: 27.98 kB / 255.8 MB, free: 3.645 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.476e-05/0.007209, allocations: 24 kB / 255.9 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/0.007244, allocations: 55.77 kB / 255.9 MB, free: 3.566 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.769e-05/0.007312, allocations: 103.8 kB / 256 MB, free: 3.465 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.007543, allocations: 211.2 kB / 256.2 MB, free: 3.258 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.007545, allocations: 0 / 256.2 MB, free: 3.258 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.007546, allocations: 0 / 256.2 MB, free: 3.258 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.00755, allocations: 0 / 256.2 MB, free: 3.258 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.0005824/0.008132, allocations: 0.5974 MB / 256.8 MB, free: 2.617 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.008162, allocations: 15.98 kB / 256.8 MB, free: 2.602 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.969e-05/0.008222, allocations: 56.75 kB / 256.9 MB, free: 2.547 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.008404, allocations: 196.1 kB / 257.1 MB, free: 2.324 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.008418, allocations: 24.97 kB / 257.1 MB, free: 2.301 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.008449, allocations: 24.38 kB / 257.1 MB, free: 2.277 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.008637, allocations: 198 kB / 257.3 MB, free: 2.07 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.008651, allocations: 4.141 kB / 257.3 MB, free: 2.066 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.008667, allocations: 12.38 kB / 257.3 MB, free: 2.055 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.008674, allocations: 8.375 kB / 257.3 MB, free: 2.047 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.008777, allocations: 95.75 kB / 257.4 MB, free: 1.953 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.009323, allocations: 0.6589 MB / 258.1 MB, free: 1.262 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.009516, allocations: 209.9 kB / 258.3 MB, free: 1.031 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.642e-05/0.009582, allocations: 75.27 kB / 258.4 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.009596, allocations: 7.938 kB / 258.4 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.009617, allocations: 41.39 kB / 258.4 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of pre-optimization done (n=36): time 1.422e-06/0.009618, allocations: 0 / 258.4 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of matching and sorting (n=48): time 0.001212/0.01083, allocations: 1.153 MB / 259.6 MB, free: 15.62 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.01087, allocations: 89.05 kB / 259.7 MB, free: 15.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.01096, allocations: 221.7 kB / 259.9 MB, free: 15.29 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.01098, allocations: 41.7 kB / 259.9 MB, free: 15.24 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.01105, allocations: 191.5 kB / 260.1 MB, free: 15.05 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.242e-05/0.01113, allocations: 178.4 kB / 260.3 MB, free: 14.87 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.0112, allocations: 79.81 kB / 260.4 MB, free: 14.79 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.01132, allocations: 0.5117 MB / 260.9 MB, free: 14.26 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.322e-05/0.01137, allocations: 48.89 kB / 260.9 MB, free: 14.21 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.439e-05/0.01145, allocations: 108.1 kB / 261 MB, free: 14.09 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.01161, allocations: 193.2 kB / 261.2 MB, free: 13.88 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01161, allocations: 0 / 261.2 MB, free: 13.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002293/0.01184, allocations: 274.3 kB / 261.5 MB, free: 13.61 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.01185, allocations: 7.984 kB / 261.5 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01185, allocations: 4 kB / 261.5 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.01186, allocations: 0 / 261.5 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.01206, allocations: 103.8 kB / 261.6 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.01207, allocations: 7.922 kB / 261.6 MB, free: 13.49 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.439e-05/0.01212, allocations: 12 kB / 261.6 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.01214, allocations: 16 kB / 261.6 MB, free: 13.46 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 8.747e-05/0.01223, allocations: 176.5 kB / 261.8 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.01228, allocations: 47.92 kB / 261.8 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/0.01233, allocations: 37.91 kB / 261.9 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01233, allocations: 4 kB / 261.9 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.01234, allocations: 7.938 kB / 261.9 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.01234, allocations: 3.984 kB / 261.9 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006235/0.01297, allocations: 0.7964 MB / 262.7 MB, free: 12.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.01297, allocations: 4 kB / 262.7 MB, free: 12.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.01318, allocations: 95.95 kB / 262.8 MB, free: 12.24 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01318, allocations: 4 kB / 262.8 MB, free: 12.24 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.0132, allocations: 12 kB / 262.8 MB, free: 12.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.0132, allocations: 4 kB / 262.8 MB, free: 12.22 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.0132, allocations: 0 / 262.8 MB, free: 12.22 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.01357, allocations: 0.6077 MB / 263.4 MB, free: 11.59 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/0.01359, allocations: 23.84 kB / 263.4 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.01362, allocations: 8 kB / 263.4 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/0.0137, allocations: 8 kB / 263.5 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.01373, allocations: 27.95 kB / 263.5 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.01374, allocations: 12 kB / 263.5 MB, free: 11.51 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.61e-05/0.0138, allocations: 163 kB / 263.7 MB, free: 11.35 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0138, allocations: 0 / 263.7 MB, free: 11.35 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.01403, allocations: 84 kB / 263.7 MB, free: 11.27 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 7.465e-05/0.01411, allocations: 103.1 kB / 263.8 MB, free: 11.16 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.01432, allocations: 204.4 kB / 264 MB, free: 10.95 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01432, allocations: 0 / 264 MB, free: 10.95 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.098e-05/0.01441, allocations: 124.5 kB / 264.2 MB, free: 10.83 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.01474, allocations: 72.03 kB / 264.2 MB, free: 10.76 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007543/0.01549, allocations: 0.8026 MB / 265 MB, free: 9.914 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.617e-05/0.01555, allocations: 105.5 kB / 265.1 MB, free: 9.789 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.921e-05/0.01563, allocations: 30.97 kB / 265.2 MB, free: 9.754 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.01576, allocations: 138.2 kB / 265.3 MB, free: 9.617 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01576, allocations: 0 / 265.3 MB, free: 9.617 MB / 250.7 MB Notification: Performance of Templates: time 0.004714/0.02048, allocations: 3.403 MB / 268.7 MB, free: 6.25 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.742234718054533]