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.0008354/0.0008354, allocations: 85.95 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.000938/0.000938, allocations: 161.2 kB / 25.6 MB, free: 8.895 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.8979/0.8979, allocations: 158.6 MB / 187.5 MB, free: 2.812 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.553e-06/1.553e-06, allocations: 0 / 251.4 MB, free: 7.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442e-05/1.597e-05, allocations: 6.25 kB / 251.4 MB, free: 7.363 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002483/0.002499, allocations: 2.429 MB / 253.9 MB, free: 4.918 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003827/0.002882, allocations: 255 kB / 254.1 MB, free: 4.668 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.002983, allocations: 7.938 kB / 254.1 MB, free: 4.66 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.003106, allocations: 43.52 kB / 254.2 MB, free: 4.617 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.003224, allocations: 95.12 kB / 254.3 MB, free: 4.523 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.003358, allocations: 75.83 kB / 254.3 MB, free: 4.449 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.003569, allocations: 334.2 kB / 254.7 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.003703, allocations: 67.64 kB / 254.7 MB, free: 4.051 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.003853, allocations: 183.6 kB / 254.9 MB, free: 3.871 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.003984, allocations: 99.69 kB / 255 MB, free: 3.773 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.004016, allocations: 24 kB / 255 MB, free: 3.75 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.16e-05/0.004048, allocations: 24 kB / 255.1 MB, free: 3.727 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.00409, allocations: 63.73 kB / 255.1 MB, free: 3.664 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.653e-05/0.004167, allocations: 99.77 kB / 255.2 MB, free: 3.566 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.004372, allocations: 211.2 kB / 255.4 MB, free: 3.359 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004374, allocations: 4 kB / 255.4 MB, free: 3.355 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004375, allocations: 0 / 255.4 MB, free: 3.355 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004379, allocations: 0 / 255.4 MB, free: 3.355 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.0005697/0.004949, allocations: 0.5974 MB / 256 MB, free: 2.715 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.004989, allocations: 15.98 kB / 256 MB, free: 2.699 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.031e-05/0.005049, allocations: 52.75 kB / 256.1 MB, free: 2.648 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.005511, allocations: 192.1 kB / 256.3 MB, free: 2.434 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.005527, allocations: 24.97 kB / 256.3 MB, free: 2.41 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.005561, allocations: 32.34 kB / 256.3 MB, free: 2.379 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.00575, allocations: 190 kB / 256.5 MB, free: 2.18 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.005766, allocations: 4.141 kB / 256.5 MB, free: 2.176 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.005781, allocations: 12.38 kB / 256.5 MB, free: 2.164 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.00579, allocations: 8.375 kB / 256.5 MB, free: 2.156 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.005893, allocations: 99.75 kB / 256.6 MB, free: 2.055 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005538/0.006447, allocations: 0.6628 MB / 257.3 MB, free: 1.359 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.006638, allocations: 213.5 kB / 257.5 MB, free: 1.129 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.815e-05/0.006706, allocations: 75.31 kB / 257.6 MB, free: 1.047 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.00672, allocations: 11.94 kB / 257.6 MB, free: 1.035 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.006747, allocations: 41.39 kB / 257.6 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of pre-optimization done (n=36): time 1.382e-06/0.006748, allocations: 0 / 257.6 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of matching and sorting (n=48): time 0.001302/0.008051, allocations: 1.145 MB / 258.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.008095, allocations: 92.98 kB / 258.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.008213, allocations: 225.7 kB / 259.1 MB, free: 15.38 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.008234, allocations: 37.7 kB / 259.1 MB, free: 15.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.549e-05/0.008319, allocations: 187.5 kB / 259.3 MB, free: 15.15 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.942e-05/0.008409, allocations: 178.4 kB / 259.5 MB, free: 14.97 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/0.008486, allocations: 87.8 kB / 259.6 MB, free: 14.88 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.008606, allocations: 0.5079 MB / 260.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.133e-05/0.008657, allocations: 44.95 kB / 260.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.705e-05/0.008744, allocations: 112.1 kB / 260.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.008898, allocations: 181.3 kB / 260.4 MB, free: 13.99 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.0089, allocations: 3.984 kB / 260.4 MB, free: 13.99 MB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002247/0.009125, allocations: 274.3 kB / 260.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.009137, allocations: 4 kB / 260.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.009142, allocations: 4 kB / 260.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.009154, allocations: 0 / 260.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.009357, allocations: 107.8 kB / 260.8 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.009361, allocations: 3.938 kB / 260.8 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.009414, allocations: 12 kB / 260.8 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.009426, allocations: 12 kB / 260.8 MB, free: 13.57 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.452e-05/0.00951, allocations: 180.4 kB / 261 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.009559, allocations: 47.92 kB / 261.1 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/0.009604, allocations: 37.95 kB / 261.1 MB, free: 13.3 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.009607, allocations: 7.938 kB / 261.1 MB, free: 13.3 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.009612, allocations: 7.938 kB / 261.1 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.009617, allocations: 3.984 kB / 261.1 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006349/0.01025, allocations: 0.8082 MB / 261.9 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.01026, allocations: 4 kB / 261.9 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.01047, allocations: 95.89 kB / 262 MB, free: 12.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01047, allocations: 4.062 kB / 262 MB, free: 12.33 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.01048, allocations: 8 kB / 262 MB, free: 12.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.01049, allocations: 4 kB / 262 MB, free: 12.32 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01049, allocations: 0 / 262 MB, free: 12.32 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.01087, allocations: 0.6077 MB / 262.6 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.01088, allocations: 23.86 kB / 262.7 MB, free: 11.66 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.0109, allocations: 8 kB / 262.7 MB, free: 11.65 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.01099, allocations: 8 kB / 262.7 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.01102, allocations: 31.94 kB / 262.7 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.01102, allocations: 8 kB / 262.7 MB, free: 11.61 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.139e-05/0.01108, allocations: 159.1 kB / 262.9 MB, free: 11.45 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01108, allocations: 0 / 262.9 MB, free: 11.45 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002205/0.0113, allocations: 83.94 kB / 263 MB, free: 11.37 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.76e-05/0.01137, allocations: 111.2 kB / 263.1 MB, free: 11.25 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.01157, allocations: 203.8 kB / 263.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01157, allocations: 0 / 263.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.01194, allocations: 117.5 kB / 263.4 MB, free: 10.93 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.01228, allocations: 79.91 kB / 263.5 MB, free: 10.85 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007929/0.01307, allocations: 0.7951 MB / 264.2 MB, free: 10.02 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.01321, allocations: 105.5 kB / 264.4 MB, free: 9.891 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001523/0.01336, allocations: 34.95 kB / 264.4 MB, free: 9.852 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.01351, allocations: 142.2 kB / 264.5 MB, free: 9.711 MB / 250.7 MB Notification: Performance of SimCode: time 1.823e-06/0.01352, allocations: 0 / 264.5 MB, free: 9.711 MB / 250.7 MB Notification: Performance of Templates: time 0.008105/0.02162, allocations: 3.307 MB / 267.8 MB, free: 6.434 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.6767593729309738]