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.001013/0.001013, 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.0009944/0.0009944, allocations: 156.5 kB / 24.55 MB, free: 20 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.9337/0.9337, allocations: 177 MB / 204.8 MB, free: 5.602 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.542e-06/1.542e-06, allocations: 0 / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.313e-05, allocations: 9.203 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003613/0.003636, allocations: 2.486 MB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007672/0.004403, allocations: 259 kB / 275.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.004553, allocations: 4 kB / 275.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.004739, allocations: 39.58 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.004966, allocations: 111 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.005204, allocations: 63.84 kB / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004018/0.005606, allocations: 330.3 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.005804, allocations: 68.2 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.006076, allocations: 187.6 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.00626, allocations: 99.69 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.002e-05/0.00631, allocations: 24 kB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.877e-05/0.006359, allocations: 27.94 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.006414, allocations: 63.75 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.006528, allocations: 95.81 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.006832, allocations: 207.2 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.006834, allocations: 0 / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006835, allocations: 0 / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.006843, allocations: 0 / 276.9 MB, free: 13.43 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.0008149/0.007658, allocations: 0.5975 MB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.007702, allocations: 15.98 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.573e-05/0.007798, allocations: 52.75 kB / 277.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.00809, allocations: 192.2 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.008116, allocations: 21.02 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-05/0.008181, allocations: 36.36 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.008558, allocations: 214 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.008578, allocations: 192 / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.008605, allocations: 12.38 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.008618, allocations: 4.375 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002554/0.008874, allocations: 123.8 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009366/0.00981, allocations: 0.6934 MB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.01008, allocations: 217.9 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.952e-05/0.01018, allocations: 87.95 kB / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.0102, allocations: 19.78 kB / 279.2 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.01022, allocations: 41.39 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.493e-06/0.01022, allocations: 0 / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001588/0.01181, allocations: 1.274 MB / 280.5 MB, free: 9.566 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.01185, allocations: 85.11 kB / 280.6 MB, free: 9.465 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.01198, allocations: 217.9 kB / 280.8 MB, free: 9.234 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.012, allocations: 33.7 kB / 280.8 MB, free: 9.195 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.01209, allocations: 195.5 kB / 281 MB, free: 9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.829e-05/0.01218, allocations: 182.4 kB / 281.2 MB, free: 8.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.287e-05/0.01227, allocations: 79.86 kB / 281.3 MB, free: 8.734 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.01242, allocations: 0.5079 MB / 281.8 MB, free: 8.215 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.961e-05/0.01251, allocations: 60.95 kB / 281.9 MB, free: 8.152 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.01263, allocations: 132.1 kB / 282 MB, free: 8.008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.01293, allocations: 209.4 kB / 282.2 MB, free: 7.789 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01294, allocations: 4 kB / 282.2 MB, free: 7.785 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003068/0.01324, allocations: 302 kB / 282.5 MB, free: 7.484 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.01326, allocations: 4 kB / 282.5 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.01326, allocations: 4 kB / 282.5 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.01328, allocations: 8 kB / 282.5 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.01351, allocations: 107.8 kB / 282.6 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.01352, allocations: 0 / 282.6 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.618e-05/0.01357, allocations: 12 kB / 282.6 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.01359, allocations: 12 kB / 282.6 MB, free: 7.34 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 9.675e-05/0.01368, allocations: 176.5 kB / 282.8 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.01374, allocations: 43.86 kB / 282.8 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.0138, allocations: 37.95 kB / 282.9 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.0138, allocations: 7.938 kB / 282.9 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.01381, allocations: 0 / 282.9 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01381, allocations: 8 kB / 282.9 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007486/0.01456, allocations: 0.8635 MB / 283.8 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01456, allocations: 0 / 283.8 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.0148, allocations: 95.89 kB / 283.9 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.0148, allocations: 4 kB / 283.9 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.01482, allocations: 8 kB / 283.9 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.01482, allocations: 4 kB / 283.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01482, allocations: 0 / 283.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.01534, allocations: 0.6546 MB / 284.5 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.01536, allocations: 19.86 kB / 284.5 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.01539, allocations: 15.98 kB / 284.6 MB, free: 5.312 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.117e-05/0.01547, allocations: 8 kB / 284.6 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.01551, allocations: 31.89 kB / 284.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.01552, allocations: 12 kB / 284.6 MB, free: 5.262 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.658e-05/0.01559, allocations: 164.2 kB / 284.8 MB, free: 5.102 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01559, allocations: 0 / 284.8 MB, free: 5.102 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000241/0.01583, allocations: 80 kB / 284.9 MB, free: 5.023 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 9.088e-05/0.01592, allocations: 111.2 kB / 285 MB, free: 4.906 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.01619, allocations: 228.2 kB / 285.2 MB, free: 4.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.0162, allocations: 4 kB / 285.2 MB, free: 4.676 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.01631, allocations: 132.4 kB / 285.3 MB, free: 4.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.01667, allocations: 75.84 kB / 285.4 MB, free: 4.469 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008611/0.01753, allocations: 0.818 MB / 286.2 MB, free: 3.609 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.587e-05/0.01759, allocations: 97.61 kB / 286.3 MB, free: 3.492 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.108e-05/0.01769, allocations: 34.95 kB / 286.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.765e-05/0.01775, allocations: 28.5 kB / 286.4 MB, free: 3.43 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01775, allocations: 0 / 286.4 MB, free: 3.43 MB / 266.7 MB Notification: Performance of Templates: time 0.004821/0.02258, allocations: 3.017 MB / 289.4 MB, free: 468 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: 3.043545281048864]