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.001872/0.001872, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.001935/0.001935, allocations: 161.7 kB / 25.03 MB, free: 8.918 MB / 18.57 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.346/1.346, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 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 1.863e-06/1.863e-06, allocations: 0 / 250.3 MB, free: 7.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.538e-05, allocations: 6.109 kB / 250.4 MB, free: 7.848 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.007136/0.007171, allocations: 2.425 MB / 252.8 MB, free: 5.406 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009521/0.008123, allocations: 247 kB / 253 MB, free: 5.164 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.008291, allocations: 15.94 kB / 253 MB, free: 5.148 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.008526, allocations: 47.56 kB / 253.1 MB, free: 5.102 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.008853, allocations: 91.12 kB / 253.2 MB, free: 5.012 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.009106, allocations: 67.84 kB / 253.2 MB, free: 4.945 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006654/0.009772, allocations: 338.2 kB / 253.6 MB, free: 4.613 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002822/0.01005, allocations: 71.64 kB / 253.6 MB, free: 4.539 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004102/0.01046, allocations: 183.6 kB / 253.8 MB, free: 4.359 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.01078, allocations: 99.69 kB / 253.9 MB, free: 4.262 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.412e-05/0.01085, allocations: 24 kB / 253.9 MB, free: 4.238 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.689e-05/0.01094, allocations: 24 kB / 254 MB, free: 4.215 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.01106, allocations: 55.81 kB / 254 MB, free: 4.16 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.01128, allocations: 103.8 kB / 254.1 MB, free: 4.059 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006996/0.01198, allocations: 318.9 kB / 254.4 MB, free: 3.746 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.01198, allocations: 0 / 254.4 MB, free: 3.746 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01198, allocations: 0 / 254.4 MB, free: 3.746 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.01199, allocations: 0 / 254.4 MB, free: 3.746 MB / 234.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.0016/0.01359, allocations: 0.6167 MB / 255 MB, free: 3.086 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.01364, allocations: 11.98 kB / 255.1 MB, free: 3.074 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.0138, allocations: 52.75 kB / 255.1 MB, free: 3.023 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/0.01429, allocations: 200 kB / 255.3 MB, free: 2.801 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.01433, allocations: 25.02 kB / 255.3 MB, free: 2.777 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.01444, allocations: 32.36 kB / 255.4 MB, free: 2.746 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008244/0.01527, allocations: 258 kB / 255.6 MB, free: 2.48 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.0153, allocations: 4.188 kB / 255.6 MB, free: 2.477 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/0.01534, allocations: 8.375 kB / 255.6 MB, free: 2.469 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.01536, allocations: 8.375 kB / 255.6 MB, free: 2.461 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006549/0.01602, allocations: 175.8 kB / 255.8 MB, free: 2.289 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.01812, allocations: 0.7598 MB / 256.6 MB, free: 1.484 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009799/0.0191, allocations: 290.1 kB / 256.8 MB, free: 1.176 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004035/0.01951, allocations: 123.3 kB / 257 MB, free: 1.047 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/0.01955, allocations: 8 kB / 257 MB, free: 1.039 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.847e-05/0.01961, allocations: 37.39 kB / 257 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of pre-optimization done (n=36): time 3.126e-06/0.01961, allocations: 0 / 257 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of matching and sorting (n=48): time 0.005323/0.02493, allocations: 1.484 MB / 258.5 MB, free: 15.39 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.02504, allocations: 85.05 kB / 258.6 MB, free: 15.29 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/0.02543, allocations: 237.9 kB / 258.8 MB, free: 15.04 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.02548, allocations: 33.7 kB / 258.8 MB, free: 15 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.02573, allocations: 203.5 kB / 259 MB, free: 14.8 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.02604, allocations: 190.4 kB / 259.2 MB, free: 14.61 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.02631, allocations: 99.84 kB / 259.3 MB, free: 14.51 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000471/0.02678, allocations: 0.5235 MB / 259.9 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.02716, allocations: 105 kB / 260 MB, free: 13.87 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006521/0.02782, allocations: 176.2 kB / 260.1 MB, free: 13.68 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009706/0.02879, allocations: 317.3 kB / 260.4 MB, free: 13.35 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.02879, allocations: 0 / 260.4 MB, free: 13.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001234/0.03002, allocations: 386 kB / 260.8 MB, free: 12.97 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.03005, allocations: 4 kB / 260.8 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.03006, allocations: 0 / 260.8 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/0.03009, allocations: 12 kB / 260.8 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008442/0.03094, allocations: 103.8 kB / 260.9 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.032e-05/0.03097, allocations: 4 kB / 260.9 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.0312, allocations: 12 kB / 260.9 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/0.03125, allocations: 12 kB / 261 MB, free: 12.82 MB / 250.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.0003247/0.03157, allocations: 200.5 kB / 261.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.03176, allocations: 43.86 kB / 261.2 MB, free: 12.57 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.03194, allocations: 37.95 kB / 261.2 MB, free: 12.54 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.03195, allocations: 7.938 kB / 261.2 MB, free: 12.53 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.03196, allocations: 0 / 261.2 MB, free: 12.53 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.03197, allocations: 7.984 kB / 261.2 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.03478, allocations: 0.9795 MB / 262.2 MB, free: 11.49 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.03479, allocations: 0 / 262.2 MB, free: 11.49 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/0.03557, allocations: 91.89 kB / 262.3 MB, free: 11.4 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/0.03558, allocations: 4 kB / 262.3 MB, free: 11.4 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.03563, allocations: 12 kB / 262.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.03564, allocations: 4 kB / 262.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.03564, allocations: 11.92 kB / 262.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.03714, allocations: 0.7718 MB / 263.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.03721, allocations: 23.86 kB / 263.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.216e-05/0.03727, allocations: 8 kB / 263.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.03757, allocations: 8 kB / 263.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/0.03765, allocations: 35.88 kB / 263.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.03769, allocations: 12 kB / 263.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002187/0.03791, allocations: 176.1 kB / 263.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.03791, allocations: 0 / 263.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006904/0.0386, allocations: 80 kB / 263.5 MB, free: 10.23 MB / 250.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.0002002/0.0388, allocations: 111.1 kB / 263.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009077/0.03971, allocations: 325.3 kB / 263.9 MB, free: 9.797 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.03971, allocations: 0 / 263.9 MB, free: 9.797 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004298/0.04014, allocations: 172.3 kB / 264.1 MB, free: 9.625 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009601/0.0411, allocations: 76.17 kB / 264.1 MB, free: 9.551 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.04311, allocations: 0.8454 MB / 265 MB, free: 8.664 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.04337, allocations: 168.8 kB / 265.1 MB, free: 8.477 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.04356, allocations: 38.94 kB / 265.2 MB, free: 8.438 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.04367, allocations: 28.5 kB / 265.2 MB, free: 8.406 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.04367, allocations: 0 / 265.2 MB, free: 8.406 MB / 250.7 MB Notification: Performance of Templates: time 0.008721/0.0524, allocations: 3.008 MB / 268.2 MB, free: 5.422 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 240] 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.381935870973393]