Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.005843/0.005843, allocations: 103.4 kB / 21.98 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001562/0.001562, allocations: 222.4 kB / 25.3 MB, free: 3.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 259 MB, free: 8.027 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 63.88 kB / 379.8 MB, free: 2.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2626, allocations: 53.38 MB / 433.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003873/0.2665, allocations: 2.506 MB / 435.7 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005608/0.267, allocations: 259.1 kB / 435.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.2671, allocations: 7.938 kB / 435.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.2673, allocations: 43.56 kB / 436 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.2675, allocations: 99.12 kB / 436.1 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.2677, allocations: 67.91 kB / 436.1 MB, free: 4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.268, allocations: 314.5 kB / 436.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.2682, allocations: 75.58 kB / 436.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.2684, allocations: 115.6 kB / 436.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.2686, allocations: 135.4 kB / 436.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.2686, allocations: 24 kB / 436.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.728e-05/0.2687, allocations: 32 kB / 436.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.023e-05/0.2687, allocations: 59.77 kB / 436.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.2689, allocations: 139.3 kB / 437 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003777/0.2693, allocations: 324.9 kB / 437.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2693, allocations: 0 / 437.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2693, allocations: 0 / 437.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.2693, allocations: 3.938 kB / 437.3 MB, free: 2.801 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.0008458/0.2701, allocations: 0.4937 MB / 437.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2702, allocations: 8.031 kB / 437.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.2702, allocations: 32.75 kB / 437.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.2705, allocations: 194.8 kB / 438.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.2706, allocations: 21.03 kB / 438.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.2706, allocations: 32.36 kB / 438.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.2711, allocations: 260.4 kB / 438.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.2711, allocations: 192 / 438.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.2711, allocations: 15.94 kB / 438.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.2711, allocations: 11.94 kB / 438.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003208/0.2714, allocations: 167.9 kB / 438.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.2725, allocations: 0.7141 MB / 439.3 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.2729, allocations: 272.5 kB / 439.5 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.2731, allocations: 120.9 kB / 439.6 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.2731, allocations: 8 kB / 439.7 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.2732, allocations: 38.56 kB / 439.7 MB, free: 300 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.393e-06/0.2732, allocations: 0 / 439.7 MB, free: 300 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002632/0.2758, allocations: 1.417 MB / 441.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.2759, allocations: 85.11 kB / 441.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.276, allocations: 184.7 kB / 441.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.2761, allocations: 33.7 kB / 441.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.2762, allocations: 148.8 kB / 441.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.2763, allocations: 186.4 kB / 441.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.2764, allocations: 70.2 kB / 441.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2766, allocations: 342.8 kB / 442.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.2768, allocations: 104.9 kB / 442.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.277, allocations: 156.8 kB / 442.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.2774, allocations: 283.1 kB / 442.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2774, allocations: 0 / 442.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005528/0.278, allocations: 374 kB / 443 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.278, allocations: 4 kB / 443 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.278, allocations: 0 / 443 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.278, allocations: 4 kB / 443 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.2784, allocations: 103.9 kB / 443.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.2784, allocations: 8 kB / 443.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.2785, allocations: 12 kB / 443.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.2786, allocations: 16 kB / 443.2 MB, free: 12.63 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.0001499/0.2787, allocations: 145.8 kB / 443.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.657e-05/0.2788, allocations: 35.75 kB / 443.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.779e-05/0.2789, allocations: 41.89 kB / 443.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2789, allocations: 4 kB / 443.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2789, allocations: 0 / 443.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2789, allocations: 4 kB / 443.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.2802, allocations: 0.9155 MB / 444.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.2802, allocations: 4 kB / 444.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.2806, allocations: 95.89 kB / 444.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.2806, allocations: 4 kB / 444.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.2807, allocations: 16 kB / 444.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2807, allocations: 3.938 kB / 444.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2807, allocations: 4 kB / 444.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008101/0.2815, allocations: 0.6355 MB / 445.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.2815, allocations: 31.78 kB / 445.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/0.2816, allocations: 12 kB / 445.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.2817, allocations: 12 kB / 445.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.2818, allocations: 27.95 kB / 445.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.2818, allocations: 8 kB / 445.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.2819, allocations: 139.2 kB / 445.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2819, allocations: 0 / 445.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003578/0.2823, allocations: 80 kB / 445.4 MB, free: 10.33 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.000119/0.2824, allocations: 111.2 kB / 445.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004953/0.2829, allocations: 285.5 kB / 445.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2829, allocations: 0 / 445.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.2831, allocations: 143.8 kB / 445.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005645/0.2837, allocations: 72.28 kB / 446 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.2853, allocations: 1.041 MB / 447 MB, free: 8.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.2857, allocations: 0.7726 MB / 447.8 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.935e-05/0.2858, allocations: 31.44 kB / 447.8 MB, free: 7.809 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2858, allocations: 0 / 447.8 MB, free: 7.809 MB / 350.1 MB Notification: Performance of Templates: time 0.006402/0.2922, allocations: 3.728 MB / 451.6 MB, free: 4.086 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.352336450014263]