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.001373/0.001373, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001756/0.001756, allocations: 217.7 kB / 24.47 MB, free: 4.359 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.484/1.484, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.001977/0.001977, allocations: 63.84 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2871, allocations: 53.32 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003973/0.2911, allocations: 2.506 MB / 434.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005826/0.2917, allocations: 271 kB / 434.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.2918, allocations: 4 kB / 434.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.292, allocations: 39.58 kB / 434.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.2922, allocations: 95.12 kB / 434.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.2924, allocations: 63.92 kB / 435 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.2927, allocations: 322.5 kB / 435.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.2929, allocations: 75.11 kB / 435.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.2931, allocations: 119.6 kB / 435.5 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.2933, allocations: 127.4 kB / 435.6 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.2933, allocations: 24 kB / 435.7 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.361e-05/0.2934, allocations: 24 kB / 435.7 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.2934, allocations: 59.81 kB / 435.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.2936, allocations: 143.3 kB / 435.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.294, allocations: 320.2 kB / 436.2 MB, free: 3.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.294, allocations: 4 kB / 436.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.294, allocations: 0 / 436.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.294, allocations: 0 / 436.2 MB, free: 3.219 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.0009223/0.2949, allocations: 0.5767 MB / 436.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2949, allocations: 8.031 kB / 436.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.267e-05/0.295, allocations: 32.75 kB / 436.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.2954, allocations: 252.4 kB / 437.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.2954, allocations: 20.94 kB / 437.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/0.2955, allocations: 24.38 kB / 437.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.296, allocations: 259.1 kB / 437.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.296, allocations: 4.188 kB / 437.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.296, allocations: 19.94 kB / 437.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.296, allocations: 11.94 kB / 437.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003236/0.2963, allocations: 171.8 kB / 437.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.2975, allocations: 0.7463 MB / 438.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.298, allocations: 264 kB / 438.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.2982, allocations: 121.9 kB / 438.7 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.2982, allocations: 4 kB / 438.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.2982, allocations: 34.56 kB / 438.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 3.537e-06/0.2982, allocations: 7.984 kB / 438.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002973/0.3012, allocations: 1.715 MB / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.3013, allocations: 81.11 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.3015, allocations: 187.7 kB / 440.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.3015, allocations: 33.7 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3016, allocations: 140.8 kB / 440.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.3018, allocations: 186.4 kB / 441.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.3019, allocations: 86.25 kB / 441.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.302, allocations: 334.8 kB / 441.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.3022, allocations: 105.1 kB / 441.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.3024, allocations: 153.5 kB / 441.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.3028, allocations: 286.1 kB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3028, allocations: 0 / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005536/0.3034, allocations: 373.9 kB / 442.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3034, allocations: 8 kB / 442.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.3034, allocations: 0 / 442.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.3034, allocations: 4 kB / 442.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.3038, allocations: 99.89 kB / 442.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.3038, allocations: 4 kB / 442.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.3039, allocations: 4 kB / 442.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.304, allocations: 16 kB / 442.5 MB, free: 12.48 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.0001564/0.3041, allocations: 153.8 kB / 442.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.702e-05/0.3042, allocations: 35.75 kB / 442.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.351e-05/0.3043, allocations: 41.86 kB / 442.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.3043, allocations: 4 kB / 442.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.3043, allocations: 4 kB / 442.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3043, allocations: 3.984 kB / 442.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.3057, allocations: 0.9389 MB / 443.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3057, allocations: 0 / 443.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004164/0.3061, allocations: 99.83 kB / 443.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.3061, allocations: 4 kB / 443.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.3062, allocations: 15.94 kB / 443.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3062, allocations: 0 / 443.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.3062, allocations: 11.94 kB / 443.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008127/0.307, allocations: 0.6398 MB / 444.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.664e-05/0.3071, allocations: 100.9 kB / 444.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.3071, allocations: 12 kB / 444.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.3073, allocations: 8 kB / 444.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.3073, allocations: 27.91 kB / 444.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.3074, allocations: 23.92 kB / 444.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.3075, allocations: 135.1 kB / 444.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3075, allocations: 0 / 444.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003911/0.3079, allocations: 76 kB / 444.8 MB, free: 10.04 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.0001589/0.308, allocations: 119.1 kB / 444.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004989/0.3085, allocations: 275.6 kB / 445.2 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3085, allocations: 4.125 kB / 445.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.3087, allocations: 151 kB / 445.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005952/0.3093, allocations: 67.05 kB / 445.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.311, allocations: 1.008 MB / 446.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.3115, allocations: 0.7764 MB / 447.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000129/0.3116, allocations: 34.95 kB / 447.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/0.3117, allocations: 27.44 kB / 447.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3117, allocations: 0 / 447.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of Templates: time 0.007638/0.3193, allocations: 3.24 MB / 450.5 MB, free: 4.297 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 4.569470386952162]