Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001813/0.001813, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002426/0.002426, allocations: 207.5 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 51.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2764, allocations: 53.37 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004018/0.2804, allocations: 2.308 MB / 433.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005883/0.281, allocations: 271 kB / 434.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.2811, allocations: 7.938 kB / 434.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.2813, allocations: 39.58 kB / 434.2 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.2815, allocations: 99.17 kB / 434.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.2818, allocations: 63.86 kB / 434.3 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004384/0.2822, allocations: 314.5 kB / 434.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.2824, allocations: 75.58 kB / 434.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.2826, allocations: 123.6 kB / 434.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.2828, allocations: 131.4 kB / 435 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.2828, allocations: 28 kB / 435 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.614e-05/0.2829, allocations: 24 kB / 435 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.155e-05/0.2829, allocations: 59.77 kB / 435.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.2831, allocations: 123.5 kB / 435.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.2835, allocations: 316.9 kB / 435.5 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.2835, allocations: 3.984 kB / 435.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2835, allocations: 0 / 435.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.2835, allocations: 0 / 435.5 MB, free: 2.734 MB / 334.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.0009549/0.2844, allocations: 0.5015 MB / 436 MB, free: 2.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.2845, allocations: 8.031 kB / 436 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.075e-05/0.2846, allocations: 32.75 kB / 436.1 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.2849, allocations: 194.8 kB / 436.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.2849, allocations: 17.03 kB / 436.3 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.285, allocations: 28.38 kB / 436.3 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/0.2855, allocations: 264.3 kB / 436.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.2855, allocations: 4.188 kB / 436.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.2855, allocations: 15.94 kB / 436.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.2855, allocations: 4 kB / 436.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.2859, allocations: 175.8 kB / 436.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.287, allocations: 0.6133 MB / 437.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.2875, allocations: 253.4 kB / 437.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.2877, allocations: 129.8 kB / 437.7 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.2877, allocations: 4 kB / 437.7 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.2877, allocations: 30.56 kB / 437.8 MB, free: 356 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.673e-06/0.2877, allocations: 4 kB / 437.8 MB, free: 352 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002802/0.2905, allocations: 1.418 MB / 439.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.2906, allocations: 85.11 kB / 439.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.2908, allocations: 160.1 kB / 439.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.2908, allocations: 37.7 kB / 439.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.2909, allocations: 140.8 kB / 439.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.2911, allocations: 186.4 kB / 439.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.2912, allocations: 78.19 kB / 439.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2913, allocations: 338.8 kB / 440.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.2915, allocations: 109 kB / 440.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.2917, allocations: 156.8 kB / 440.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004427/0.2922, allocations: 282.2 kB / 440.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2922, allocations: 0 / 440.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005612/0.2927, allocations: 370 kB / 441.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.2928, allocations: 7.938 kB / 441.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2928, allocations: 0 / 441.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.2928, allocations: 4 kB / 441.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.2932, allocations: 99.89 kB / 441.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.2932, allocations: 7.984 kB / 441.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.2934, allocations: 16.06 kB / 441.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.2934, allocations: 16 kB / 441.2 MB, free: 12.69 MB / 350.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.0001812/0.2936, allocations: 149.7 kB / 441.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.94e-05/0.2937, allocations: 31.8 kB / 441.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.2938, allocations: 41.95 kB / 441.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2938, allocations: 4 kB / 441.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.2938, allocations: 0 / 441.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2938, allocations: 3.984 kB / 441.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.2951, allocations: 0.83 MB / 442.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.2951, allocations: 4 kB / 442.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.2956, allocations: 95.89 kB / 442.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.2956, allocations: 3.938 kB / 442.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.2956, allocations: 8 kB / 442.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/0.2956, allocations: 11.92 kB / 442.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.2956, allocations: 3.938 kB / 442.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008477/0.2965, allocations: 0.6317 MB / 443.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.2965, allocations: 27.81 kB / 443.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.2966, allocations: 12.06 kB / 443.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.2967, allocations: 15.94 kB / 443.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.2968, allocations: 35.88 kB / 443.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.2968, allocations: 8 kB / 443.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.808e-05/0.2969, allocations: 123.5 kB / 443.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2969, allocations: 0 / 443.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003857/0.2973, allocations: 87.94 kB / 443.4 MB, free: 10.5 MB / 350.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.0001375/0.2974, allocations: 103.2 kB / 443.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004835/0.2979, allocations: 282.7 kB / 443.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2979, allocations: 0 / 443.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.2981, allocations: 150.6 kB / 443.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000598/0.2987, allocations: 66.91 kB / 443.9 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.3004, allocations: 1.014 MB / 445 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.3006, allocations: 172.8 kB / 445.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.3008, allocations: 34.95 kB / 445.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.3009, allocations: 27.44 kB / 445.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3009, allocations: 0 / 445.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of Templates: time 0.0091/0.31, allocations: 3.476 MB / 448.7 MB, free: 5.172 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.592848563101143]