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.001373/0.001373, allocations: 79.34 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001529/0.001529, allocations: 154.1 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.411/1.411, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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.593e-06/1.593e-06, allocations: 0 / 318.9 MB, free: 3.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.488e-05, allocations: 6.219 kB / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.00272/0.002745, allocations: 2.302 MB / 321.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004358/0.00318, allocations: 251.3 kB / 321.5 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.003297, allocations: 8.281 kB / 321.5 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.00344, allocations: 45.7 kB / 321.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.00359, allocations: 98.09 kB / 321.6 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.003755, allocations: 65.52 kB / 321.7 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.004038, allocations: 339.8 kB / 322 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.004202, allocations: 74.31 kB / 322.1 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.004396, allocations: 181 kB / 322.2 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.004555, allocations: 97.22 kB / 322.3 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.524e-05/0.00461, allocations: 24.41 kB / 322.4 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.013e-05/0.004661, allocations: 24 kB / 322.4 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.004706, allocations: 57.23 kB / 322.4 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.004812, allocations: 103.7 kB / 322.5 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.005152, allocations: 321.1 kB / 322.9 MB, free: 1.176 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.005155, allocations: 0 / 322.9 MB, free: 1.176 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005156, allocations: 1.969 kB / 322.9 MB, free: 1.176 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.005165, allocations: 4 kB / 322.9 MB, free: 1.172 MB / 286.1 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.000737/0.005902, allocations: 0.4911 MB / 323.4 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.005937, allocations: 10.95 kB / 323.4 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.005996, allocations: 36.73 kB / 323.4 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.006245, allocations: 187.9 kB / 323.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.006269, allocations: 19.92 kB / 323.6 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.006324, allocations: 34.53 kB / 323.6 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.006709, allocations: 251.1 kB / 323.9 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.006729, allocations: 2.641 kB / 323.9 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.006753, allocations: 11.94 kB / 323.9 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.00676, allocations: 5.812 kB / 323.9 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.007041, allocations: 178.6 kB / 324.1 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008863/0.007927, allocations: 0.6135 MB / 324.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.008383, allocations: 270.4 kB / 325 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.008575, allocations: 116.7 kB / 325.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.008598, allocations: 2.844 kB / 325.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.008627, allocations: 35.05 kB / 325.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.663e-06/0.008629, allocations: 3.938 kB / 325.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002729/0.01136, allocations: 1.42 MB / 326.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.01141, allocations: 83.3 kB / 326.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.01159, allocations: 164.1 kB / 326.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.01162, allocations: 35.98 kB / 326.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.994e-05/0.01172, allocations: 140 kB / 326.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.01187, allocations: 187 kB / 327.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.01198, allocations: 78.73 kB / 327.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.01214, allocations: 337.1 kB / 327.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.01233, allocations: 103.3 kB / 327.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.01255, allocations: 154.3 kB / 327.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00044/0.01299, allocations: 282.3 kB / 328.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01299, allocations: 0 / 328.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005504/0.01354, allocations: 366.9 kB / 328.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.01356, allocations: 10.45 kB / 328.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01356, allocations: 1.094 kB / 328.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.01358, allocations: 6.562 kB / 328.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.01398, allocations: 101.1 kB / 328.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.01399, allocations: 7.281 kB / 328.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.01411, allocations: 14.91 kB / 328.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.01413, allocations: 14.16 kB / 328.6 MB, free: 13.42 MB / 302.1 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.0001587/0.01429, allocations: 153 kB / 328.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.489e-05/0.01437, allocations: 26.28 kB / 328.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.409e-05/0.01446, allocations: 40.14 kB / 328.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.01447, allocations: 13.5 kB / 328.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.01448, allocations: 0 / 328.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.01448, allocations: 3.719 kB / 328.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.01578, allocations: 0.8282 MB / 329.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01578, allocations: 1.281 kB / 329.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/0.01621, allocations: 104.1 kB / 329.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.01622, allocations: 3.344 kB / 329.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.01624, allocations: 8.578 kB / 329.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.01624, allocations: 7.594 kB / 329.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.01625, allocations: 0.6562 kB / 329.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008178/0.01707, allocations: 0.6483 MB / 330.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.0171, allocations: 21.77 kB / 330.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.01715, allocations: 11.95 kB / 330.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.01732, allocations: 10.22 kB / 330.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.01739, allocations: 33.52 kB / 330.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.01741, allocations: 14.17 kB / 330.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.01751, allocations: 124.9 kB / 330.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01751, allocations: 1.594 kB / 330.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003688/0.01788, allocations: 80.75 kB / 330.7 MB, free: 12.1 MB / 302.1 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.0001367/0.01802, allocations: 109.7 kB / 330.8 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004525/0.01847, allocations: 275 kB / 331.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01847, allocations: 0 / 331.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.01868, allocations: 149.6 kB / 331.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005737/0.01926, allocations: 62.5 kB / 331.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.02061, allocations: 0.8345 MB / 332.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.02078, allocations: 168.8 kB / 332.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.0209, allocations: 36.22 kB / 332.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.636e-05/0.02097, allocations: 28.69 kB / 332.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.02098, allocations: 0 / 332.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of Templates: time 0.00714/0.02811, allocations: 3.002 MB / 335.3 MB, free: 10.08 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.372091103345156]