Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001797/0.001797, allocations: 85.75 kB / 21.44 MB, free: 296 kB / 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.002172/0.002172, allocations: 161.2 kB / 24.7 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 158.6 MB / 186.5 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 298.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.155e-05/4.405e-05, allocations: 6.281 kB / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.005852/0.005896, allocations: 2.292 MB / 301.2 MB, free: 6.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.006919, allocations: 251.1 kB / 301.5 MB, free: 6.184 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.007231, allocations: 11.94 kB / 301.5 MB, free: 6.172 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.00748, allocations: 39.58 kB / 301.5 MB, free: 6.133 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004121/0.007892, allocations: 99.06 kB / 301.6 MB, free: 6.035 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.008213, allocations: 67.83 kB / 301.7 MB, free: 5.969 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000707/0.00892, allocations: 330.3 kB / 302 MB, free: 5.645 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.009225, allocations: 71.64 kB / 302.1 MB, free: 5.574 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/0.0096, allocations: 179.6 kB / 302.3 MB, free: 5.398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.009837, allocations: 95.69 kB / 302.3 MB, free: 5.305 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.784e-05/0.009915, allocations: 24 kB / 302.4 MB, free: 5.281 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.395e-05/0.009989, allocations: 28 kB / 302.4 MB, free: 5.254 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.01006, allocations: 59.75 kB / 302.5 MB, free: 5.195 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.01022, allocations: 95.81 kB / 302.5 MB, free: 5.102 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004582/0.01068, allocations: 322.9 kB / 302.9 MB, free: 4.785 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.01069, allocations: 3.938 kB / 302.9 MB, free: 4.781 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01069, allocations: 0 / 302.9 MB, free: 4.781 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.344e-05/0.01071, allocations: 7.984 kB / 302.9 MB, free: 4.773 MB / 286.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.001131/0.01184, allocations: 0.4936 MB / 303.4 MB, free: 4.246 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.01189, allocations: 15.98 kB / 303.4 MB, free: 4.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.012, allocations: 32.75 kB / 303.4 MB, free: 4.199 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.01244, allocations: 193.3 kB / 303.6 MB, free: 3.984 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.01248, allocations: 21.03 kB / 303.6 MB, free: 3.965 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.01254, allocations: 28.38 kB / 303.7 MB, free: 3.938 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.01307, allocations: 256.3 kB / 303.9 MB, free: 3.676 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.0131, allocations: 8.141 kB / 303.9 MB, free: 3.668 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.01312, allocations: 8.375 kB / 303.9 MB, free: 3.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.01313, allocations: 8.375 kB / 303.9 MB, free: 3.652 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.01347, allocations: 179.8 kB / 304.1 MB, free: 3.477 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.01454, allocations: 0.6056 MB / 304.7 MB, free: 2.836 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/0.01501, allocations: 264.9 kB / 305 MB, free: 2.559 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.0152, allocations: 114.3 kB / 305.1 MB, free: 2.441 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.01522, allocations: 4 kB / 305.1 MB, free: 2.438 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.01525, allocations: 42.47 kB / 305.1 MB, free: 2.387 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/0.01526, allocations: 3.938 kB / 305.1 MB, free: 2.383 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.003047/0.0183, allocations: 1.414 MB / 306.5 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/0.01836, allocations: 85.09 kB / 306.6 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.01855, allocations: 166.8 kB / 306.8 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.01858, allocations: 33.7 kB / 306.8 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.0187, allocations: 144.8 kB / 307 MB, free: 416 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.01886, allocations: 182.4 kB / 307.1 MB, free: 232 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.01897, allocations: 74.2 kB / 307.2 MB, free: 152 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.01916, allocations: 338.8 kB / 307.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.01937, allocations: 105 kB / 307.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.0196, allocations: 152.8 kB / 307.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.02006, allocations: 286.1 kB / 308.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.02006, allocations: 0 / 308.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006022/0.02066, allocations: 366 kB / 308.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.02068, allocations: 8 kB / 308.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.02069, allocations: 8.047 kB / 308.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.02071, allocations: 7.938 kB / 308.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.02113, allocations: 95.91 kB / 308.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.02114, allocations: 4 kB / 308.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.02127, allocations: 11.98 kB / 308.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.0213, allocations: 12 kB / 308.6 MB, free: 14.74 MB / 302.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.0002739/0.02157, allocations: 165.6 kB / 308.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.706e-05/0.02165, allocations: 23.86 kB / 308.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.728e-05/0.02173, allocations: 33.97 kB / 308.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.02174, allocations: 7.938 kB / 308.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.02175, allocations: 8 kB / 308.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.02176, allocations: 3.984 kB / 308.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.02323, allocations: 0.8228 MB / 309.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.02324, allocations: 0 / 309.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000448/0.02368, allocations: 95.89 kB / 309.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.02369, allocations: 4 kB / 309.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.02372, allocations: 12 kB / 309.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.02373, allocations: 12 kB / 309.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.02373, allocations: 3.984 kB / 309.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008874/0.02462, allocations: 0.645 MB / 310.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.02466, allocations: 23.81 kB / 310.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.02471, allocations: 12 kB / 310.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.02489, allocations: 12 kB / 310.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.02495, allocations: 31.81 kB / 310.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.02498, allocations: 16 kB / 310.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.02508, allocations: 119.2 kB / 310.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02508, allocations: 0 / 310.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004036/0.02548, allocations: 80 kB / 310.7 MB, free: 12.54 MB / 302.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.0001477/0.02563, allocations: 111.2 kB / 310.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006159/0.02625, allocations: 279.1 kB / 311.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.02625, allocations: 0 / 311.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.02658, allocations: 147.6 kB / 311.2 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/0.0272, allocations: 76.08 kB / 311.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.02889, allocations: 0.8196 MB / 312.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.0291, allocations: 164.8 kB / 312.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.02924, allocations: 42.94 kB / 312.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/0.02932, allocations: 28.5 kB / 312.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.02932, allocations: 0 / 312.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of Templates: time 0.008255/0.03758, allocations: 2.992 MB / 315.3 MB, free: 7.832 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.408926956355572]