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.0009727/0.0009727, allocations: 91.61 kB / 22.18 MB, free: 2.383 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.0009095/0.0009095, allocations: 157.4 kB / 25.44 MB, free: 9.352 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.87/0.87, allocations: 158.6 MB / 187.2 MB, free: 3.047 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.452e-06/1.452e-06, allocations: 0 / 299.7 MB, free: 7.027 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.393e-05, allocations: 6.281 kB / 299.7 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002652/0.002676, allocations: 2.292 MB / 302 MB, free: 4.711 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006288/0.003305, allocations: 247 kB / 302.2 MB, free: 4.469 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.003457, allocations: 7.938 kB / 302.2 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.003612, allocations: 39.58 kB / 302.3 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.003776, allocations: 103.1 kB / 302.4 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.00399, allocations: 67.78 kB / 302.4 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.004278, allocations: 334.2 kB / 302.8 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.004467, allocations: 67.64 kB / 302.8 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.004663, allocations: 187.6 kB / 303 MB, free: 3.676 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.004798, allocations: 95.7 kB / 303.1 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.004842, allocations: 27.98 kB / 303.1 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.899e-05/0.004871, allocations: 24 kB / 303.2 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.004913, allocations: 51.83 kB / 303.2 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.704e-05/0.00499, allocations: 103.8 kB / 303.3 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.005238, allocations: 319 kB / 303.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.005241, allocations: 0 / 303.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005241, allocations: 0 / 303.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.005246, allocations: 0 / 303.6 MB, free: 3.066 MB / 282.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.0006501/0.005896, allocations: 0.5014 MB / 304.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.005932, allocations: 11.98 kB / 304.1 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.005981, allocations: 36.75 kB / 304.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.006199, allocations: 193.3 kB / 304.4 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.006213, allocations: 17.03 kB / 304.4 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.006248, allocations: 28.38 kB / 304.4 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.006522, allocations: 260.3 kB / 304.7 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.006537, allocations: 4.141 kB / 304.7 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.006555, allocations: 12.38 kB / 304.7 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.006562, allocations: 4.375 kB / 304.7 MB, free: 1.941 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.006754, allocations: 179.8 kB / 304.8 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/0.007358, allocations: 0.6056 MB / 305.5 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.007628, allocations: 265 kB / 305.7 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.00774, allocations: 122.2 kB / 305.8 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.007755, allocations: 4 kB / 305.8 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.007776, allocations: 42.47 kB / 305.9 MB, free: 0.668 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.343e-06/0.007777, allocations: 0 / 305.9 MB, free: 0.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.001756/0.009533, allocations: 1.41 MB / 307.3 MB, free: 15.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.00957, allocations: 85.11 kB / 307.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.00967, allocations: 174.7 kB / 307.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.009687, allocations: 29.7 kB / 307.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.009751, allocations: 148.8 kB / 307.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.84e-05/0.009829, allocations: 178.4 kB / 307.9 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.009898, allocations: 74.19 kB / 308 MB, free: 14.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.079e-05/0.009979, allocations: 338.8 kB / 308.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.01009, allocations: 101 kB / 308.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.01022, allocations: 160.8 kB / 308.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.01048, allocations: 282.1 kB / 308.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01048, allocations: 0 / 308.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003271/0.01081, allocations: 366 kB / 309.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.01082, allocations: 6.812 kB / 309.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01083, allocations: 4 kB / 309.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.01084, allocations: 3.938 kB / 309.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.01105, allocations: 107.8 kB / 309.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.01106, allocations: 4.062 kB / 309.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.556e-05/0.01111, allocations: 12 kB / 309.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.01113, allocations: 16 kB / 309.3 MB, free: 13.02 MB / 298.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 9.319e-05/0.01122, allocations: 153.7 kB / 309.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.01126, allocations: 27.86 kB / 309.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.382e-05/0.0113, allocations: 33.97 kB / 309.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.01131, allocations: 11.88 kB / 309.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.01131, allocations: 0 / 309.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.01132, allocations: 3.984 kB / 309.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007088/0.01202, allocations: 0.8306 MB / 310.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01203, allocations: 4 kB / 310.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.01224, allocations: 91.91 kB / 310.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.01224, allocations: 4 kB / 310.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.01226, allocations: 11.98 kB / 310.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01226, allocations: 7.984 kB / 310.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.01226, allocations: 0 / 310.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.01273, allocations: 0.6372 MB / 311.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.01276, allocations: 35.88 kB / 311.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.01278, allocations: 4 kB / 311.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.381e-05/0.01286, allocations: 15.94 kB / 311.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.01289, allocations: 39.73 kB / 311.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.0129, allocations: 8 kB / 311.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.513e-05/0.01296, allocations: 119.2 kB / 311.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01296, allocations: 0 / 311.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002272/0.01318, allocations: 84 kB / 311.4 MB, free: 10.83 MB / 298.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.776e-05/0.01326, allocations: 111.1 kB / 311.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.01355, allocations: 279.3 kB / 311.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01355, allocations: 0 / 311.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.01367, allocations: 151.6 kB / 312 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.01401, allocations: 55.97 kB / 312 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008076/0.01481, allocations: 0.8683 MB / 312.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.606e-05/0.01491, allocations: 164.8 kB / 313.1 MB, free: 9.141 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.01497, allocations: 28.5 kB / 313.1 MB, free: 9.113 MB / 298.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01497, allocations: 0 / 313.1 MB, free: 9.113 MB / 298.7 MB Notification: Performance of Templates: time 0.003589/0.01856, allocations: 3.836 MB / 316.9 MB, free: 5.277 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.218601209111512]