Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001188/0.001188, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001456/0.001456, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9305/0.9305, allocations: 177 MB / 204.8 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 272.9 MB, free: 1.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.752e-05, allocations: 2.312 kB / 272.9 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.00245/0.002468, allocations: 2.493 MB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005224/0.00299, allocations: 255 kB / 275.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.155e-05/0.003072, allocations: 7.938 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.003177, allocations: 47.56 kB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.003301, allocations: 103.1 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.003432, allocations: 63.84 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.003654, allocations: 334.3 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.003771, allocations: 68.2 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.003905, allocations: 183.6 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.004013, allocations: 99.69 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.004044, allocations: 24 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.74e-05/0.004072, allocations: 28 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.475e-05/0.004107, allocations: 63.75 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.651e-05/0.004173, allocations: 99.8 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.004352, allocations: 203.2 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004354, allocations: 0 / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004355, allocations: 0 / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.004359, allocations: 0 / 276.9 MB, free: 13.44 MB / 266.7 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.0004854/0.004845, allocations: 0.5975 MB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.004873, allocations: 15.98 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/0.004934, allocations: 52.75 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.005106, allocations: 192.2 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.00512, allocations: 20.97 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.005156, allocations: 32.38 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.005384, allocations: 214 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.005395, allocations: 192 / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.005418, allocations: 20.36 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.005426, allocations: 4.375 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.005574, allocations: 119.8 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006269/0.006201, allocations: 0.6973 MB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.006452, allocations: 214 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.292e-05/0.006545, allocations: 87.91 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.006559, allocations: 19.84 kB / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.006579, allocations: 41.38 kB / 279.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.392e-06/0.00658, allocations: 0 / 279.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001437/0.008018, allocations: 1.278 MB / 280.5 MB, free: 9.578 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.008051, allocations: 85.09 kB / 280.6 MB, free: 9.477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.00816, allocations: 217.9 kB / 280.8 MB, free: 9.246 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.008177, allocations: 33.7 kB / 280.8 MB, free: 9.207 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.00825, allocations: 195.5 kB / 281 MB, free: 9.012 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.085e-05/0.008331, allocations: 178.4 kB / 281.2 MB, free: 8.836 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.396e-05/0.008405, allocations: 75.86 kB / 281.3 MB, free: 8.754 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.008512, allocations: 0.5118 MB / 281.8 MB, free: 8.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.209e-05/0.008594, allocations: 60.91 kB / 281.9 MB, free: 8.168 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.008708, allocations: 128.1 kB / 282 MB, free: 8.027 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.008919, allocations: 213.3 kB / 282.2 MB, free: 7.805 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.008921, allocations: 4 kB / 282.2 MB, free: 7.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002882/0.00921, allocations: 298 kB / 282.5 MB, free: 7.504 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.009221, allocations: 4 kB / 282.5 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.009226, allocations: 4 kB / 282.5 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.009238, allocations: 7.938 kB / 282.5 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.009457, allocations: 107.8 kB / 282.6 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.009462, allocations: 0 / 282.6 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.151e-05/0.009513, allocations: 12.06 kB / 282.6 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.009527, allocations: 16 kB / 282.6 MB, free: 7.355 MB / 266.7 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 8.3e-05/0.00961, allocations: 176.5 kB / 282.8 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.009657, allocations: 39.86 kB / 282.8 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.009702, allocations: 41.95 kB / 282.9 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.009706, allocations: 7.938 kB / 282.9 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.009712, allocations: 0 / 282.9 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.009718, allocations: 7.984 kB / 282.9 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006724/0.01039, allocations: 0.8635 MB / 283.8 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01039, allocations: 0 / 283.8 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.0106, allocations: 95.89 kB / 283.9 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.01061, allocations: 4 kB / 283.9 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.01062, allocations: 8 kB / 283.9 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.01062, allocations: 4 kB / 283.9 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01063, allocations: 0 / 283.9 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.01107, allocations: 0.6506 MB / 284.5 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.01109, allocations: 23.84 kB / 284.5 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.01111, allocations: 12.06 kB / 284.6 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.0112, allocations: 12 kB / 284.6 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.01123, allocations: 35.88 kB / 284.6 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.01124, allocations: 12 kB / 284.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.231e-05/0.0113, allocations: 160.2 kB / 284.8 MB, free: 5.117 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0113, allocations: 0 / 284.8 MB, free: 5.117 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002194/0.01152, allocations: 80 kB / 284.8 MB, free: 5.039 MB / 266.7 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 7.108e-05/0.01159, allocations: 111.1 kB / 285 MB, free: 4.922 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.01184, allocations: 232.2 kB / 285.2 MB, free: 4.691 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01184, allocations: 0 / 285.2 MB, free: 4.691 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.01195, allocations: 132.4 kB / 285.3 MB, free: 4.555 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.01228, allocations: 72.45 kB / 285.4 MB, free: 4.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007848/0.01306, allocations: 0.8182 MB / 286.2 MB, free: 3.629 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.898e-05/0.01312, allocations: 105.5 kB / 286.3 MB, free: 3.504 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.812e-05/0.0132, allocations: 30.95 kB / 286.3 MB, free: 3.473 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.01326, allocations: 28.5 kB / 286.4 MB, free: 3.445 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01326, allocations: 0 / 286.4 MB, free: 3.445 MB / 266.7 MB Notification: Performance of Templates: time 0.004486/0.01774, allocations: 3.181 MB / 289.5 MB, free: 316 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6177280521951616]