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.00129/0.00129, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001428/0.001428, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.38/1.38, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.001908/0.001908, allocations: 67.89 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2706, allocations: 53.31 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003829/0.2744, allocations: 2.513 MB / 434.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005273/0.2749, allocations: 271 kB / 434.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.275, allocations: 4 kB / 434.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.2752, allocations: 43.52 kB / 434.9 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.2754, allocations: 91.19 kB / 434.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.2755, allocations: 63.92 kB / 435 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.2759, allocations: 326.4 kB / 435.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.2761, allocations: 71.12 kB / 435.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.2762, allocations: 119.6 kB / 435.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.2764, allocations: 131.4 kB / 435.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.2764, allocations: 24 kB / 435.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.329e-05/0.2765, allocations: 24 kB / 435.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.2765, allocations: 59.81 kB / 435.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.2767, allocations: 139.3 kB / 435.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.277, allocations: 324.2 kB / 436.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.277, allocations: 8 kB / 436.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.277, allocations: 0 / 436.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.277, allocations: 0 / 436.2 MB, free: 3.195 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.0008479/0.2779, allocations: 0.5611 MB / 436.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2779, allocations: 12.03 kB / 436.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.365e-05/0.278, allocations: 36.73 kB / 436.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.2784, allocations: 252.4 kB / 437.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.2784, allocations: 20.94 kB / 437.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.539e-05/0.2784, allocations: 28.31 kB / 437.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.2788, allocations: 255.1 kB / 437.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.2789, allocations: 12.17 kB / 437.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.2789, allocations: 15.88 kB / 437.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.2789, allocations: 12 kB / 437.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.2792, allocations: 167.9 kB / 437.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.2803, allocations: 0.7463 MB / 438.3 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.2807, allocations: 261.3 kB / 438.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.2809, allocations: 123.1 kB / 438.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.2809, allocations: 4 kB / 438.7 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.2809, allocations: 34.56 kB / 438.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.423e-06/0.2809, allocations: 0 / 438.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.003146/0.2841, allocations: 1.719 MB / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.2841, allocations: 81.11 kB / 440.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.2844, allocations: 191.7 kB / 440.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.2844, allocations: 29.7 kB / 440.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.2846, allocations: 144.8 kB / 440.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.2847, allocations: 186.4 kB / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.2848, allocations: 74.27 kB / 441.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.285, allocations: 350.7 kB / 441.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.2851, allocations: 101.1 kB / 441.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.2853, allocations: 153.5 kB / 441.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.2858, allocations: 282.2 kB / 442 MB, free: 12.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2858, allocations: 4 kB / 442 MB, free: 12.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005369/0.2863, allocations: 374 kB / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2863, allocations: 4 kB / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2863, allocations: 0 / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.2863, allocations: 4 kB / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.2867, allocations: 99.83 kB / 442.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2867, allocations: 4 kB / 442.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.2869, allocations: 12 kB / 442.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.2869, allocations: 12 kB / 442.5 MB, free: 12.46 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.0001703/0.287, allocations: 153.8 kB / 442.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.949e-05/0.2871, allocations: 31.75 kB / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.447e-05/0.2872, allocations: 41.86 kB / 442.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.2872, allocations: 8 kB / 442.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.2872, allocations: 0 / 442.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.2872, allocations: 3.984 kB / 442.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.2887, allocations: 0.9466 MB / 443.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2887, allocations: 0 / 443.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004211/0.2891, allocations: 99.83 kB / 443.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.2891, allocations: 4 kB / 443.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.2892, allocations: 15.94 kB / 443.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.2892, allocations: 4 kB / 443.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2892, allocations: 0 / 443.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007915/0.29, allocations: 0.6436 MB / 444.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.358e-05/0.29, allocations: 104.9 kB / 444.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.2901, allocations: 12 kB / 444.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.2903, allocations: 4 kB / 444.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.2903, allocations: 27.97 kB / 444.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.2903, allocations: 23.94 kB / 444.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.2904, allocations: 135.1 kB / 444.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2904, allocations: 0 / 444.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003926/0.2908, allocations: 80 kB / 444.8 MB, free: 10.02 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.0001395/0.291, allocations: 115.1 kB / 444.9 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004786/0.2915, allocations: 279.6 kB / 445.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2915, allocations: 0 / 445.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.2917, allocations: 155.9 kB / 445.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.2922, allocations: 63.05 kB / 445.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.2938, allocations: 1.035 MB / 446.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.2942, allocations: 0.7764 MB / 447.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.636e-05/0.2943, allocations: 31.44 kB / 447.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2943, allocations: 4 kB / 447.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of Templates: time 0.006311/0.3006, allocations: 3.726 MB / 451 MB, free: 3.77 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.130313025321811]