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.001301/0.001301, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 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.001384/0.001384, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 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 1.51/1.51, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001482/0.001482, allocations: 55.91 kB / 374.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1017, allocations: 53.33 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003687/0.1054, allocations: 2.503 MB / 430 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005394/0.106, allocations: 259 kB / 430.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.1061, allocations: 11.88 kB / 430.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.1062, allocations: 39.58 kB / 430.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.1064, allocations: 95.19 kB / 430.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.1066, allocations: 63.86 kB / 430.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000344/0.1069, allocations: 314.6 kB / 430.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.1071, allocations: 75.11 kB / 430.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.1072, allocations: 127.5 kB / 430.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.1074, allocations: 127.5 kB / 431.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.1075, allocations: 24 kB / 431.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.139e-05/0.1075, allocations: 28 kB / 431.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.273e-05/0.1076, allocations: 55.77 kB / 431.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.1077, allocations: 147.3 kB / 431.3 MB, free: 432 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.108, allocations: 322.6 kB / 431.6 MB, free: 108 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.108, allocations: 0 / 431.6 MB, free: 108 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.108, allocations: 3.938 kB / 431.6 MB, free: 104 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.108, allocations: 0 / 431.6 MB, free: 104 kB / 350.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.1984/0.3064, allocations: 0.5616 MB / 432.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.3065, allocations: 9.688 kB / 432.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.3066, allocations: 37.88 kB / 432.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.307, allocations: 250.4 kB / 432.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.307, allocations: 18.72 kB / 432.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/0.3071, allocations: 27.77 kB / 432.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/0.3076, allocations: 253.3 kB / 432.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.3076, allocations: 3.281 kB / 432.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.3076, allocations: 15.12 kB / 432.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3077, allocations: 5.625 kB / 432.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.308, allocations: 179.1 kB / 433 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.309, allocations: 0.75 MB / 433.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.3094, allocations: 260.6 kB / 434 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.3096, allocations: 121.2 kB / 434.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.3096, allocations: 5.438 kB / 434.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.3096, allocations: 39.28 kB / 434.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.573e-06/0.3096, allocations: 0 / 434.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002407/0.312, allocations: 1.71 MB / 435.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.3121, allocations: 85.39 kB / 435.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.3122, allocations: 187 kB / 436.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.3122, allocations: 31.8 kB / 436.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.3123, allocations: 138.1 kB / 436.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.088e-05/0.3124, allocations: 188.6 kB / 436.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.886e-05/0.3125, allocations: 77.3 kB / 436.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.3126, allocations: 337.4 kB / 436.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.3127, allocations: 110.2 kB / 437 MB, free: 8.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.3129, allocations: 152.6 kB / 437.1 MB, free: 8.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.3133, allocations: 284.7 kB / 437.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3133, allocations: 0.9688 kB / 437.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004846/0.3137, allocations: 364.9 kB / 437.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3138, allocations: 8.469 kB / 437.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3138, allocations: 1.812 kB / 437.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.3138, allocations: 3.094 kB / 437.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.3142, allocations: 102.5 kB / 437.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.3142, allocations: 5.422 kB / 437.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.3143, allocations: 13.72 kB / 437.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.3143, allocations: 18.84 kB / 437.9 MB, free: 8.031 MB / 350.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.0001169/0.3145, allocations: 149.2 kB / 438.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.261e-05/0.3145, allocations: 37.67 kB / 438.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.277e-05/0.3146, allocations: 40.06 kB / 438.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.3146, allocations: 5.5 kB / 438.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.3146, allocations: 3.219 kB / 438.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.3146, allocations: 3.516 kB / 438.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.3157, allocations: 0.936 MB / 439.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3157, allocations: 1.281 kB / 439.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.3161, allocations: 102.8 kB / 439.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3161, allocations: 3.406 kB / 439.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.3161, allocations: 16 kB / 439.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.3162, allocations: 5.594 kB / 439.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3162, allocations: 1.25 kB / 439.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006762/0.3168, allocations: 0.6444 MB / 439.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.3169, allocations: 102.5 kB / 440 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.3169, allocations: 16.22 kB / 440 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.3171, allocations: 6.562 kB / 440 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.3171, allocations: 29.92 kB / 440 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.3171, allocations: 13.77 kB / 440 MB, free: 6.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.791e-05/0.3172, allocations: 134 kB / 440.2 MB, free: 6.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3172, allocations: 0 / 440.2 MB, free: 6.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.3176, allocations: 81.62 kB / 440.2 MB, free: 6.578 MB / 350.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.0001062/0.3177, allocations: 115 kB / 440.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004504/0.3182, allocations: 274 kB / 440.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3182, allocations: 1.062 kB / 440.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.3184, allocations: 146 kB / 440.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005607/0.3189, allocations: 70.48 kB / 440.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.3202, allocations: 1.04 MB / 441.9 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.3205, allocations: 0.7752 MB / 442.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.114e-05/0.3206, allocations: 29.53 kB / 442.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3206, allocations: 0 / 442.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of Templates: time 0.007171/0.3277, allocations: 3.746 MB / 446.4 MB, free: 4.508 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.508101297018584]