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.0009787/0.0009787, allocations: 77.97 kB / 21.42 MB, free: 3.07 MB / 18.57 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.001114/0.001114, allocations: 168.6 kB / 24.82 MB, free: 8.875 MB / 18.57 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 0.9761/0.9761, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 1.472e-06/1.472e-06, allocations: 3.938 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.088e-05, allocations: 5.266 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002486/0.002507, allocations: 2.447 MB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003633/0.002871, allocations: 259.1 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.022e-05/0.002951, allocations: 7.938 kB / 276.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.143e-05/0.003042, allocations: 43.52 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.00316, allocations: 107.1 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.00327, allocations: 63.84 kB / 276.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.003471, allocations: 330.3 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.003581, allocations: 68.48 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.003713, allocations: 183.6 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.003819, allocations: 107.7 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.003849, allocations: 24 kB / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.829e-05/0.003877, allocations: 24 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.00391, allocations: 55.77 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.859e-05/0.003979, allocations: 107.8 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.00415, allocations: 207.2 kB / 277.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.004152, allocations: 0 / 277.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.004152, allocations: 0 / 277.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.004156, allocations: 0 / 277.4 MB, free: 13.28 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.0004303/0.004586, allocations: 0.5975 MB / 278 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.004615, allocations: 8.031 kB / 278 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.004665, allocations: 56.73 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.004811, allocations: 192.1 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.004847, allocations: 21.03 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.004882, allocations: 28.38 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.005068, allocations: 205.9 kB / 278.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.005079, allocations: 192 / 278.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.005094, allocations: 16.31 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.005101, allocations: 8.375 kB / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.005203, allocations: 91.81 kB / 278.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.005758, allocations: 0.6627 MB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.006017, allocations: 205.9 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.006127, allocations: 83.92 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.006145, allocations: 15.84 kB / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.006173, allocations: 41.39 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.653e-06/0.006175, allocations: 0 / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001758/0.007933, allocations: 1.152 MB / 280.8 MB, free: 9.652 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.007972, allocations: 89.05 kB / 280.8 MB, free: 9.547 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.008079, allocations: 221.8 kB / 281.1 MB, free: 9.312 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.008107, allocations: 37.7 kB / 281.1 MB, free: 9.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.691e-05/0.008204, allocations: 187.5 kB / 281.3 MB, free: 9.082 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.008331, allocations: 190.3 kB / 281.5 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.008436, allocations: 75.83 kB / 281.5 MB, free: 8.812 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.008618, allocations: 0.5117 MB / 282 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.008719, allocations: 48.95 kB / 282.1 MB, free: 8.238 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.008846, allocations: 108.1 kB / 282.2 MB, free: 8.113 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.00909, allocations: 189.2 kB / 282.4 MB, free: 7.914 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.009092, allocations: 0 / 282.4 MB, free: 7.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003806/0.009472, allocations: 282.2 kB / 282.7 MB, free: 7.633 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.009487, allocations: 4 kB / 282.7 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.009493, allocations: 4 kB / 282.7 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.009506, allocations: 0 / 282.7 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.009827, allocations: 108 kB / 282.8 MB, free: 7.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.009833, allocations: 3.938 kB / 282.8 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.229e-05/0.009926, allocations: 12 kB / 282.8 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.009943, allocations: 8 kB / 282.8 MB, free: 7.496 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 0.0001215/0.01006, allocations: 180.5 kB / 283 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-05/0.01015, allocations: 39.86 kB / 283 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.665e-05/0.01023, allocations: 41.95 kB / 283.1 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.01023, allocations: 4 kB / 283.1 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.01024, allocations: 7.938 kB / 283.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.01025, allocations: 0 / 283.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.01139, allocations: 0.7994 MB / 283.9 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.01139, allocations: 11.94 kB / 283.9 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.01167, allocations: 99.83 kB / 284 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.01168, allocations: 0 / 284 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.0117, allocations: 12 kB / 284 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.0117, allocations: 4 kB / 284 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.0117, allocations: 0 / 284 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.0122, allocations: 0.6001 MB / 284.6 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.01224, allocations: 31.83 kB / 284.6 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.01226, allocations: 8 kB / 284.6 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.532e-05/0.01235, allocations: 8 kB / 284.6 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.01239, allocations: 31.89 kB / 284.7 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.0124, allocations: 11.98 kB / 284.7 MB, free: 5.531 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.297e-05/0.01247, allocations: 155.1 kB / 284.8 MB, free: 5.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01247, allocations: 0 / 284.8 MB, free: 5.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002812/0.01276, allocations: 84 kB / 284.9 MB, free: 5.297 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 0.0001418/0.0129, allocations: 107.2 kB / 285 MB, free: 5.184 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.01315, allocations: 203.8 kB / 285.2 MB, free: 4.977 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01315, allocations: 0 / 285.2 MB, free: 4.977 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.854e-05/0.01325, allocations: 123.3 kB / 285.3 MB, free: 4.855 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.01364, allocations: 55.09 kB / 285.4 MB, free: 4.805 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000892/0.01454, allocations: 0.8217 MB / 286.2 MB, free: 3.941 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.389e-05/0.0146, allocations: 101.5 kB / 286.3 MB, free: 3.816 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.973e-05/0.01468, allocations: 30.95 kB / 286.3 MB, free: 3.785 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.01481, allocations: 142.2 kB / 286.5 MB, free: 3.645 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01481, allocations: 0 / 286.5 MB, free: 3.645 MB / 266.7 MB Notification: Performance of Templates: time 0.00485/0.01966, allocations: 3.322 MB / 289.8 MB, free: 404 kB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.643812321126461]