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.001282/0.001282, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.00139/0.00139, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.454/1.454, allocations: 230.4 MB / 255.4 MB, free: 14.98 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.001904/0.001904, allocations: 67.84 kB / 374.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1043, allocations: 53.32 MB / 428 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003843/0.1082, allocations: 2.508 MB / 430.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005242/0.1087, allocations: 251 kB / 430.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.1088, allocations: 7.938 kB / 430.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.109, allocations: 43.56 kB / 430.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.1091, allocations: 91.2 kB / 430.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.1093, allocations: 63.91 kB / 431 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.1097, allocations: 314.5 kB / 431.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.1099, allocations: 75.11 kB / 431.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.11, allocations: 127.5 kB / 431.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.1102, allocations: 135.4 kB / 431.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.424e-05/0.1103, allocations: 24 kB / 431.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.54e-05/0.1103, allocations: 27.94 kB / 431.7 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.1104, allocations: 51.84 kB / 431.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.1105, allocations: 155.2 kB / 431.9 MB, free: 492 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000367/0.1109, allocations: 314.6 kB / 432.2 MB, free: 176 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1109, allocations: 0 / 432.2 MB, free: 176 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.917e-06/0.1109, allocations: 4 kB / 432.2 MB, free: 172 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1109, allocations: 0 / 432.2 MB, free: 172 kB / 350.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.1849/0.2958, allocations: 0.5587 MB / 432.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.2958, allocations: 10.41 kB / 432.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.262e-05/0.2959, allocations: 33.72 kB / 432.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.2962, allocations: 256.8 kB / 433.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.2962, allocations: 19.06 kB / 433.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/0.2963, allocations: 29.45 kB / 433.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.2967, allocations: 254.6 kB / 433.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.2967, allocations: 3.516 kB / 433.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.2967, allocations: 13.91 kB / 433.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2967, allocations: 9.812 kB / 433.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.297, allocations: 179.5 kB / 433.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008425/0.2979, allocations: 0.7425 MB / 434.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.2982, allocations: 264.3 kB / 434.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.2984, allocations: 112.4 kB / 434.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.2984, allocations: 6.625 kB / 434.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.2984, allocations: 34.34 kB / 434.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.184e-06/0.2984, allocations: 7.219 kB / 434.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002195/0.3006, allocations: 1.713 MB / 436.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.3006, allocations: 81.7 kB / 436.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3008, allocations: 183.6 kB / 436.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.3008, allocations: 33.95 kB / 436.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.3008, allocations: 138.9 kB / 436.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.798e-05/0.3009, allocations: 187.2 kB / 437 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-05/0.301, allocations: 75.34 kB / 437.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.112e-05/0.301, allocations: 340.8 kB / 437.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.3012, allocations: 101.9 kB / 437.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.3014, allocations: 159.7 kB / 437.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.3017, allocations: 287.8 kB / 438 MB, free: 8.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3017, allocations: 0 / 438 MB, free: 8.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004583/0.3022, allocations: 369.1 kB / 438.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3022, allocations: 12.64 kB / 438.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3022, allocations: 1.656 kB / 438.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.3022, allocations: 2.688 kB / 438.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.3026, allocations: 101.6 kB / 438.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3026, allocations: 2.688 kB / 438.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.3027, allocations: 10.72 kB / 438.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.3027, allocations: 15.12 kB / 438.5 MB, free: 8.086 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.0001036/0.3028, allocations: 155 kB / 438.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/0.3029, allocations: 39.09 kB / 438.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.058e-05/0.303, allocations: 40.44 kB / 438.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.303, allocations: 6.562 kB / 438.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.303, allocations: 1.281 kB / 438.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.303, allocations: 2.391 kB / 438.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.304, allocations: 0.9347 MB / 439.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.304, allocations: 5 kB / 439.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004094/0.3045, allocations: 97.2 kB / 439.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3045, allocations: 2.75 kB / 439.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.3045, allocations: 15.44 kB / 439.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.3045, allocations: 5.375 kB / 439.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3045, allocations: 1.188 kB / 439.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000654/0.3051, allocations: 0.6496 MB / 440.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.026e-05/0.3052, allocations: 102.4 kB / 440.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.3052, allocations: 7.812 kB / 440.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.3054, allocations: 11.59 kB / 440.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.3054, allocations: 29.42 kB / 440.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.3055, allocations: 13.89 kB / 440.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.754e-05/0.3056, allocations: 132.6 kB / 440.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3056, allocations: 5.031 kB / 440.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003771/0.3059, allocations: 80.88 kB / 440.8 MB, free: 6.641 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 9.704e-05/0.306, allocations: 116.9 kB / 440.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004469/0.3065, allocations: 278.2 kB / 441.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3065, allocations: 4.297 kB / 441.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.3067, allocations: 146.9 kB / 441.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005691/0.3072, allocations: 72.44 kB / 441.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.3085, allocations: 1.033 MB / 442.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.3087, allocations: 0.7756 MB / 443.2 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.719e-05/0.3088, allocations: 31.06 kB / 443.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3088, allocations: 0 / 443.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of Templates: time 0.006638/0.3154, allocations: 3.737 MB / 447 MB, free: 4.574 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_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: 7.075491121970117]