Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008692/0.0008692, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000892/0.000892, allocations: 145.7 kB / 24.89 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9783/0.9783, allocations: 173.4 MB / 201.5 MB, free: 8.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 268.5 MB, free: 6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.512e-05, allocations: 6.25 kB / 268.5 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.006206/0.006231, allocations: 2.493 MB / 271 MB, free: 3.484 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006295/0.00686, allocations: 282.8 kB / 271.3 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.006977, allocations: 4 kB / 271.3 MB, free: 3.203 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.007098, allocations: 39.58 kB / 271.3 MB, free: 3.164 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.00723, allocations: 99.06 kB / 271.4 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.007381, allocations: 63.91 kB / 271.5 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.007602, allocations: 342.1 kB / 271.8 MB, free: 2.668 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.007727, allocations: 70.27 kB / 271.9 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.007862, allocations: 187.6 kB / 272.1 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.007979, allocations: 95.69 kB / 272.1 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.008009, allocations: 28 kB / 272.2 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.496e-05/0.008033, allocations: 27.94 kB / 272.2 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.476e-05/0.008068, allocations: 51.83 kB / 272.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.374e-05/0.008132, allocations: 103.7 kB / 272.4 MB, free: 2.109 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.008322, allocations: 207.2 kB / 272.6 MB, free: 1.906 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.008324, allocations: 4 kB / 272.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.008325, allocations: 0 / 272.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.008329, allocations: 0 / 272.6 MB, free: 1.902 MB / 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.0004355/0.008765, allocations: 488.1 kB / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.008793, allocations: 12.92 kB / 273.1 MB, free: 1.387 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.008843, allocations: 40.91 kB / 273.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.009019, allocations: 177.4 kB / 273.3 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.009034, allocations: 21.03 kB / 273.3 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.00907, allocations: 28.33 kB / 273.3 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.009245, allocations: 196.2 kB / 273.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.009257, allocations: 8.172 kB / 273.5 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.009273, allocations: 8.375 kB / 273.5 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.00928, allocations: 8.375 kB / 273.5 MB, free: 0.875 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.331e-05/0.009373, allocations: 87.84 kB / 273.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.009855, allocations: 499.9 kB / 274.1 MB, free: 288 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.01003, allocations: 179.6 kB / 274.3 MB, free: 96 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.01008, allocations: 65.67 kB / 274.3 MB, free: 24 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.0101, allocations: 8 kB / 274.4 MB, free: 16 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.01013, allocations: 46.44 kB / 274.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.323e-06/0.01013, allocations: 0 / 274.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001325/0.01146, allocations: 1.182 MB / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.01149, allocations: 89.05 kB / 275.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.367e-05/0.01157, allocations: 162.5 kB / 275.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.01159, allocations: 37.7 kB / 275.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.01165, allocations: 132.8 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.065e-05/0.01173, allocations: 186.3 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.01179, allocations: 74.16 kB / 276.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.215e-05/0.01187, allocations: 350.7 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.202e-05/0.01191, allocations: 40.97 kB / 276.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.01199, allocations: 96.81 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.01212, allocations: 165.9 kB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01212, allocations: 0 / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0001881/0.01231, allocations: 210.4 kB / 277.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01232, allocations: 7.984 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.01233, allocations: 7.984 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.01234, allocations: 4.062 kB / 277.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.01259, allocations: 123.8 kB / 277.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.01259, allocations: 4 kB / 277.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.939e-05/0.01264, allocations: 12 kB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.01265, allocations: 12 kB / 277.3 MB, free: 12.91 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 7.079e-05/0.01272, allocations: 125.8 kB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.543e-05/0.01277, allocations: 35.97 kB / 277.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.01281, allocations: 33.97 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.01282, allocations: 19.92 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.01282, allocations: 3.938 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.01282, allocations: 0 / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.01338, allocations: 0.5992 MB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.01338, allocations: 4 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.01362, allocations: 111.9 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.01363, allocations: 8.062 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.01364, allocations: 12 kB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.01364, allocations: 3.984 kB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01365, allocations: 4 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.01397, allocations: 465.5 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.01399, allocations: 23.84 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.01402, allocations: 11.94 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.165e-05/0.01411, allocations: 8 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.01415, allocations: 31.89 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.01416, allocations: 11.98 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.151e-05/0.01419, allocations: 40.83 kB / 278.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01419, allocations: 0 / 278.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.0144, allocations: 76 kB / 278.9 MB, free: 11.23 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 8.675e-05/0.01448, allocations: 100.3 kB / 279 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.01467, allocations: 185.2 kB / 279.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.01467, allocations: 0 / 279.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.115e-05/0.01475, allocations: 113.6 kB / 279.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.01505, allocations: 68.2 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007032/0.01575, allocations: 0.6697 MB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.068e-05/0.01581, allocations: 97.61 kB / 280.1 MB, free: 9.949 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.703e-05/0.01591, allocations: 30.97 kB / 280.1 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.01605, allocations: 115.3 kB / 280.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01605, allocations: 0 / 280.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of Templates: time 0.005425/0.02148, allocations: 3.491 MB / 283.7 MB, free: 6.391 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7394295330159366]