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.001112/0.001112, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001161/0.001161, allocations: 168.7 kB / 25.75 MB, free: 8.582 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.915/0.915, allocations: 158.6 MB / 187.6 MB, free: 2.895 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.764e-06/1.764e-06, allocations: 0 / 251.1 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.771e-05, allocations: 6.25 kB / 251.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004038/0.004066, allocations: 2.452 MB / 253.5 MB, free: 5.359 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008401/0.004906, allocations: 251 kB / 253.8 MB, free: 5.113 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.00508, allocations: 7.938 kB / 253.8 MB, free: 5.105 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.005248, allocations: 43.58 kB / 253.8 MB, free: 5.062 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.005471, allocations: 103.1 kB / 253.9 MB, free: 4.961 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.005704, allocations: 63.84 kB / 254 MB, free: 4.898 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004052/0.006109, allocations: 342.2 kB / 254.3 MB, free: 4.562 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.006319, allocations: 71.62 kB / 254.4 MB, free: 4.488 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.006581, allocations: 183.6 kB / 254.6 MB, free: 4.309 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.006761, allocations: 95.69 kB / 254.7 MB, free: 4.215 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.204e-05/0.006813, allocations: 24 kB / 254.7 MB, free: 4.191 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.675e-05/0.00686, allocations: 32 kB / 254.7 MB, free: 4.16 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.006917, allocations: 55.77 kB / 254.8 MB, free: 4.105 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.007037, allocations: 99.8 kB / 254.9 MB, free: 4.008 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.007361, allocations: 207.2 kB / 255.1 MB, free: 3.805 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.007366, allocations: 4 kB / 255.1 MB, free: 3.801 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.007367, allocations: 0 / 255.1 MB, free: 3.801 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.007374, allocations: 0 / 255.1 MB, free: 3.801 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.0008661/0.00824, allocations: 0.6013 MB / 255.7 MB, free: 3.156 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.008292, allocations: 15.98 kB / 255.7 MB, free: 3.141 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.008414, allocations: 52.75 kB / 255.8 MB, free: 3.09 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.008738, allocations: 188.1 kB / 255.9 MB, free: 2.879 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.008766, allocations: 21.03 kB / 256 MB, free: 2.859 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/0.008834, allocations: 28.38 kB / 256 MB, free: 2.832 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.009235, allocations: 210 kB / 256.2 MB, free: 2.613 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.009258, allocations: 4.141 kB / 256.2 MB, free: 2.609 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.009286, allocations: 16.38 kB / 256.2 MB, free: 2.594 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.009299, allocations: 8.312 kB / 256.2 MB, free: 2.586 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.009562, allocations: 119.8 kB / 256.3 MB, free: 2.469 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.01062, allocations: 0.6896 MB / 257 MB, free: 1.734 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.01102, allocations: 229.8 kB / 257.3 MB, free: 1.484 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.01118, allocations: 95.31 kB / 257.3 MB, free: 1.383 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.0112, allocations: 8 kB / 257.4 MB, free: 1.375 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.01123, allocations: 37.39 kB / 257.4 MB, free: 1.328 MB / 234.7 MB Notification: Performance of pre-optimization done (n=36): time 2.595e-06/0.01124, allocations: 0 / 257.4 MB, free: 1.328 MB / 234.7 MB Notification: Performance of matching and sorting (n=48): time 0.002452/0.01369, allocations: 1.278 MB / 258.7 MB, free: 15.94 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.01374, allocations: 85.11 kB / 258.8 MB, free: 15.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.01393, allocations: 229.7 kB / 259 MB, free: 15.59 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.01395, allocations: 33.7 kB / 259 MB, free: 15.55 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.01408, allocations: 191.5 kB / 259.2 MB, free: 15.36 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.01423, allocations: 174.5 kB / 259.4 MB, free: 15.19 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.01435, allocations: 83.84 kB / 259.4 MB, free: 15.1 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.01455, allocations: 0.504 MB / 260 MB, free: 14.59 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.01471, allocations: 60.95 kB / 260 MB, free: 14.53 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.0149, allocations: 124.2 kB / 260.1 MB, free: 14.38 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/0.01527, allocations: 221.3 kB / 260.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.01528, allocations: 0 / 260.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004987/0.01577, allocations: 298.3 kB / 260.6 MB, free: 13.86 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.01579, allocations: 8 kB / 260.6 MB, free: 13.85 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.01581, allocations: 3.984 kB / 260.7 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.01583, allocations: 7.938 kB / 260.7 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.0162, allocations: 99.84 kB / 260.8 MB, free: 13.74 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.01621, allocations: 4 kB / 260.8 MB, free: 13.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.725e-05/0.0163, allocations: 12.05 kB / 260.8 MB, free: 13.72 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.01633, allocations: 16 kB / 260.8 MB, free: 13.71 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 0.0001353/0.01646, allocations: 180.5 kB / 261 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-05/0.01655, allocations: 43.8 kB / 261 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.76e-05/0.01663, allocations: 37.97 kB / 261 MB, free: 13.44 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.01664, allocations: 7.938 kB / 261.1 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.01665, allocations: 4 kB / 261.1 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.01665, allocations: 3.984 kB / 261.1 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.01784, allocations: 0.8623 MB / 261.9 MB, free: 12.51 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.01784, allocations: 4 kB / 261.9 MB, free: 12.51 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.01823, allocations: 99.83 kB / 262 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.01823, allocations: 0 / 262 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.01826, allocations: 8 kB / 262 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.01826, allocations: 4 kB / 262 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01826, allocations: 0 / 262 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007014/0.01896, allocations: 0.6429 MB / 262.7 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.019, allocations: 19.86 kB / 262.7 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.01904, allocations: 16.06 kB / 262.7 MB, free: 11.69 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.0192, allocations: 12 kB / 262.7 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.01925, allocations: 35.88 kB / 262.8 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.01927, allocations: 12 kB / 262.8 MB, free: 11.63 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.093e-05/0.01936, allocations: 155.2 kB / 262.9 MB, free: 11.48 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.01936, allocations: 0 / 262.9 MB, free: 11.48 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000428/0.01979, allocations: 80 kB / 263 MB, free: 11.4 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 0.0001346/0.01992, allocations: 119 kB / 263.1 MB, free: 11.28 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003945/0.02032, allocations: 223.8 kB / 263.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.02032, allocations: 0 / 263.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.02049, allocations: 133.2 kB / 263.5 MB, free: 10.92 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006134/0.0211, allocations: 67.95 kB / 263.5 MB, free: 10.86 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.02243, allocations: 0.8187 MB / 264.4 MB, free: 9.996 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.972e-05/0.02252, allocations: 105.6 kB / 264.5 MB, free: 9.871 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.02265, allocations: 34.95 kB / 264.5 MB, free: 9.832 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.02273, allocations: 28.5 kB / 264.5 MB, free: 9.801 MB / 250.7 MB Notification: Performance of SimCode: time 1.042e-06/0.02273, allocations: 0 / 264.5 MB, free: 9.801 MB / 250.7 MB Notification: Performance of Templates: time 0.006536/0.02926, allocations: 3.024 MB / 267.5 MB, free: 6.801 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.8483152671251446]