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.001787/0.001787, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002247/0.002247, allocations: 214.7 kB / 24.48 MB, free: 3.941 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 2.302/2.302, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 177] 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.002213/0.002213, allocations: 47.92 kB / 378.9 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3601, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.005462/0.3656, allocations: 2.316 MB / 434.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007923/0.3664, allocations: 263 kB / 434.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.3665, allocations: 7.938 kB / 434.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.3667, allocations: 43.58 kB / 434.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.367, allocations: 91.19 kB / 435 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.3673, allocations: 67.86 kB / 435.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005132/0.3678, allocations: 322.5 kB / 435.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.368, allocations: 66.55 kB / 435.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.3682, allocations: 135.5 kB / 435.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.3685, allocations: 131.4 kB / 435.7 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.364e-05/0.3686, allocations: 24 kB / 435.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-05/0.3686, allocations: 24 kB / 435.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/0.3687, allocations: 59.81 kB / 435.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.3689, allocations: 115.5 kB / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005097/0.3694, allocations: 322.4 kB / 436.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3694, allocations: 0 / 436.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3694, allocations: 0 / 436.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.3694, allocations: 0 / 436.3 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.003173/0.3726, allocations: 0.5015 MB / 436.8 MB, free: 2.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.3726, allocations: 8.031 kB / 436.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.3727, allocations: 32.75 kB / 436.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.3732, allocations: 190.8 kB / 437 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.3733, allocations: 21.03 kB / 437 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.455e-05/0.3734, allocations: 28.38 kB / 437 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006798/0.374, allocations: 260.3 kB / 437.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/0.3741, allocations: 8.188 kB / 437.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.3741, allocations: 11.94 kB / 437.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.3741, allocations: 8 kB / 437.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/0.3746, allocations: 171.8 kB / 437.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.376, allocations: 0.625 MB / 438.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006313/0.3767, allocations: 256.6 kB / 438.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/0.377, allocations: 117.8 kB / 438.5 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.377, allocations: 7.984 kB / 438.5 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.377, allocations: 38.56 kB / 438.5 MB, free: 348 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.375e-06/0.377, allocations: 3.938 kB / 438.5 MB, free: 344 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.004269/0.3813, allocations: 1.425 MB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.3814, allocations: 85.11 kB / 440 MB, free: 14.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.3816, allocations: 164.1 kB / 440.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.3817, allocations: 33.7 kB / 440.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.3818, allocations: 144.8 kB / 440.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.3821, allocations: 186.4 kB / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.3822, allocations: 70.2 kB / 440.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002316/0.3825, allocations: 342.8 kB / 441 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.3828, allocations: 105 kB / 441.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/0.3832, allocations: 156.8 kB / 441.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007274/0.3839, allocations: 282.2 kB / 441.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3839, allocations: 0 / 441.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009418/0.3849, allocations: 370 kB / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.3849, allocations: 11.94 kB / 441.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3849, allocations: 0 / 441.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.3849, allocations: 4 kB / 441.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/0.3856, allocations: 104 kB / 442 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.3856, allocations: 4 kB / 442 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.3858, allocations: 4 kB / 442 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.3859, allocations: 16 kB / 442 MB, free: 12.7 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.0002331/0.3861, allocations: 153.7 kB / 442.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.3862, allocations: 31.8 kB / 442.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.3864, allocations: 37.95 kB / 442.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.3864, allocations: 4 kB / 442.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.3864, allocations: 4 kB / 442.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.3864, allocations: 0 / 442.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.3886, allocations: 0.8264 MB / 443 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.3886, allocations: 0 / 443 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007711/0.3893, allocations: 95.89 kB / 443.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.3893, allocations: 4 kB / 443.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.3894, allocations: 12 kB / 443.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.3894, allocations: 7.938 kB / 443.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.3894, allocations: 7.875 kB / 443.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.3907, allocations: 0.6357 MB / 443.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.3907, allocations: 27.8 kB / 443.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/0.3908, allocations: 8 kB / 443.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.3911, allocations: 19.94 kB / 443.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.3911, allocations: 27.89 kB / 443.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.3912, allocations: 19.98 kB / 443.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.3913, allocations: 123.5 kB / 444 MB, free: 10.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3913, allocations: 0 / 444 MB, free: 10.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006258/0.3919, allocations: 79.94 kB / 444.1 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.0001783/0.3921, allocations: 119.3 kB / 444.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007489/0.3929, allocations: 273.5 kB / 444.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3929, allocations: 0 / 444.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000354/0.3932, allocations: 147.8 kB / 444.6 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.0009534/0.3942, allocations: 58.53 kB / 444.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.3966, allocations: 1.021 MB / 445.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.3969, allocations: 168.8 kB / 445.9 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002059/0.3971, allocations: 30.97 kB / 445.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.3972, allocations: 27.44 kB / 445.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3972, allocations: 0 / 445.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of Templates: time 0.01128/0.4084, allocations: 3.487 MB / 449.4 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 -s cvode -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/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_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: 6.342249251989415]