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.000811/0.000811, allocations: 84 kB / 21.43 MB, free: 3.129 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.003251/0.003251, allocations: 151 kB / 24.68 MB, free: 9.426 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.809/0.809, allocations: 173.4 MB / 201.2 MB, free: 9.434 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.714e-06/1.714e-06, allocations: 0 / 319.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.643e-05, allocations: 6.219 kB / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002208/0.002234, allocations: 2.304 MB / 322 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003997/0.002634, allocations: 255 kB / 322.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.442e-05/0.002729, allocations: 15.88 kB / 322.2 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.002848, allocations: 47.5 kB / 322.3 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.002961, allocations: 99.12 kB / 322.4 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.003107, allocations: 63.84 kB / 322.4 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.003322, allocations: 334.3 kB / 322.8 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.003469, allocations: 71.62 kB / 322.8 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.003604, allocations: 183.6 kB / 323 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.003712, allocations: 91.7 kB / 323.1 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.003746, allocations: 24 kB / 323.1 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.548e-05/0.003771, allocations: 28 kB / 323.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.003806, allocations: 63.73 kB / 323.2 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.221e-05/0.003868, allocations: 99.77 kB / 323.3 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.004108, allocations: 319 kB / 323.6 MB, free: 1.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004109, allocations: 0 / 323.6 MB, free: 1.871 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.00411, allocations: 0 / 323.6 MB, free: 1.871 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.004115, allocations: 0 / 323.6 MB, free: 1.871 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.000522/0.004637, allocations: 0.4937 MB / 324.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.00467, allocations: 8.922 kB / 324.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.004715, allocations: 36.7 kB / 324.2 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.004921, allocations: 193.3 kB / 324.4 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.004938, allocations: 21.03 kB / 324.4 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.004978, allocations: 32.33 kB / 324.4 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.005245, allocations: 252.3 kB / 324.7 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.00526, allocations: 8.172 kB / 324.7 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.005277, allocations: 12.38 kB / 324.7 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.005283, allocations: 8.375 kB / 324.7 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.005479, allocations: 175.8 kB / 324.9 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006291/0.006108, allocations: 0.5976 MB / 325.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.006383, allocations: 268.6 kB / 325.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.006496, allocations: 113.7 kB / 325.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.006512, allocations: 11.94 kB / 325.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.006532, allocations: 38.56 kB / 325.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.643e-06/0.006534, allocations: 0 / 325.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.001529/0.008063, allocations: 1.423 MB / 327.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.0081, allocations: 85.05 kB / 327.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.008203, allocations: 162.8 kB / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.008222, allocations: 37.69 kB / 327.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.008287, allocations: 144.8 kB / 327.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.682e-05/0.008364, allocations: 178.4 kB / 327.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.008433, allocations: 74.2 kB / 328 MB, free: 13.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.008514, allocations: 346.7 kB / 328.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.008624, allocations: 101 kB / 328.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.008755, allocations: 156.8 kB / 328.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.009016, allocations: 282.2 kB / 328.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.009018, allocations: 4 kB / 328.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003192/0.009338, allocations: 366 kB / 329.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.009352, allocations: 8 kB / 329.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.009359, allocations: 0 / 329.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.009375, allocations: 7.938 kB / 329.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.009586, allocations: 103.8 kB / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.009593, allocations: 7.984 kB / 329.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.009646, allocations: 8 kB / 329.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.009661, allocations: 20.06 kB / 329.3 MB, free: 11.84 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.679e-05/0.009758, allocations: 145.8 kB / 329.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.009794, allocations: 31.8 kB / 329.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/0.00984, allocations: 45.89 kB / 329.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.009845, allocations: 11.92 kB / 329.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.00985, allocations: 0 / 329.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.009854, allocations: 4 kB / 329.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000711/0.01057, allocations: 0.8294 MB / 330.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01057, allocations: 0 / 330.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.01078, allocations: 95.89 kB / 330.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.01078, allocations: 4 kB / 330.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.0108, allocations: 8 kB / 330.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.0108, allocations: 0 / 330.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.0108, allocations: 4 kB / 330.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.01129, allocations: 0.6411 MB / 331.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.01134, allocations: 27.84 kB / 331.2 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.01137, allocations: 12 kB / 331.2 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.222e-05/0.01146, allocations: 8.062 kB / 331.2 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.01149, allocations: 31.89 kB / 331.2 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.0115, allocations: 12 kB / 331.2 MB, free: 9.859 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.876e-05/0.01156, allocations: 132.3 kB / 331.4 MB, free: 9.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01156, allocations: 0 / 331.4 MB, free: 9.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.01178, allocations: 76 kB / 331.5 MB, free: 9.656 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 8.761e-05/0.01187, allocations: 111.1 kB / 331.6 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002971/0.01217, allocations: 279.1 kB / 331.8 MB, free: 9.262 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01217, allocations: 4.125 kB / 331.8 MB, free: 9.258 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.0123, allocations: 143.8 kB / 332 MB, free: 9.117 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.01266, allocations: 63.89 kB / 332 MB, free: 9.055 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008477/0.01351, allocations: 0.8657 MB / 332.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.659e-05/0.0136, allocations: 172.8 kB / 333.1 MB, free: 7.965 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.01366, allocations: 28.5 kB / 333.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01367, allocations: 0 / 333.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of Templates: time 0.003583/0.01725, allocations: 3.841 MB / 336.9 MB, free: 4.102 MB / 298.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=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.095961144194007]