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.001327/0.001327, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001386/0.001386, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.516/1.516, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001521/0.001521, allocations: 47.86 kB / 373.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1027, allocations: 53.32 MB / 426.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003652/0.1064, allocations: 2.512 MB / 429.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005008/0.1069, allocations: 251 kB / 429.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.107, allocations: 4 kB / 429.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.1071, allocations: 47.45 kB / 429.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.1073, allocations: 91.19 kB / 429.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.1075, allocations: 71.91 kB / 429.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.1078, allocations: 314.5 kB / 430.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.108, allocations: 71.11 kB / 430.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1082, allocations: 123.6 kB / 430.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.1083, allocations: 131.5 kB / 430.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/0.1084, allocations: 27.94 kB / 430.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.283e-05/0.1084, allocations: 24 kB / 430.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.464e-05/0.1085, allocations: 59.77 kB / 430.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.1086, allocations: 147.3 kB / 430.6 MB, free: 432 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.109, allocations: 318.6 kB / 430.9 MB, free: 112 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.109, allocations: 8 kB / 430.9 MB, free: 104 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.109, allocations: 0 / 430.9 MB, free: 104 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.109, allocations: 0 / 430.9 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.2149/0.3239, allocations: 0.555 MB / 431.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.324, allocations: 12.06 kB / 431.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.324, allocations: 33.77 kB / 431.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.3243, allocations: 254.6 kB / 431.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.3243, allocations: 17.03 kB / 431.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.3244, allocations: 28.2 kB / 431.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.3248, allocations: 260.6 kB / 432.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.3248, allocations: 1.125 kB / 432.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.3249, allocations: 13.19 kB / 432.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.3249, allocations: 7.406 kB / 432.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.3252, allocations: 176.7 kB / 432.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009305/0.3261, allocations: 0.75 MB / 433 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.3265, allocations: 262.3 kB / 433.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.3267, allocations: 117.7 kB / 433.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.3267, allocations: 5.656 kB / 433.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.3267, allocations: 36.31 kB / 433.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.703e-06/0.3267, allocations: 0 / 433.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002403/0.3291, allocations: 1.717 MB / 435.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.3291, allocations: 85.7 kB / 435.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3293, allocations: 183.2 kB / 435.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.3293, allocations: 33.22 kB / 435.5 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.3294, allocations: 137.4 kB / 435.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.93e-05/0.3295, allocations: 190.3 kB / 435.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.382e-05/0.3296, allocations: 75.78 kB / 435.9 MB, free: 8.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.508e-05/0.3296, allocations: 342.4 kB / 436.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.3298, allocations: 100.6 kB / 436.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.33, allocations: 155.6 kB / 436.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.3304, allocations: 288.8 kB / 436.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3304, allocations: 1.125 kB / 436.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000509/0.3309, allocations: 369 kB / 437.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3309, allocations: 5.344 kB / 437.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3309, allocations: 4.219 kB / 437.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.3309, allocations: 7.375 kB / 437.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/0.3313, allocations: 99.59 kB / 437.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.3313, allocations: 4.922 kB / 437.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.3314, allocations: 11.28 kB / 437.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.3315, allocations: 14.41 kB / 437.2 MB, free: 8.062 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.0001078/0.3316, allocations: 149.2 kB / 437.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.759e-05/0.3316, allocations: 34.94 kB / 437.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.641e-05/0.3317, allocations: 41.23 kB / 437.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3317, allocations: 5.188 kB / 437.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.3317, allocations: 2.438 kB / 437.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.3318, allocations: 4.297 kB / 437.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.3329, allocations: 0.9424 MB / 438.4 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3329, allocations: 1.344 kB / 438.4 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/0.3334, allocations: 95.89 kB / 438.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3334, allocations: 2 kB / 438.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.3334, allocations: 21.02 kB / 438.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.3334, allocations: 4.594 kB / 438.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3334, allocations: 3.281 kB / 438.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000787/0.3342, allocations: 0.6376 MB / 439.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.3343, allocations: 102.6 kB / 439.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.3343, allocations: 15.73 kB / 439.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.3345, allocations: 6.531 kB / 439.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.3345, allocations: 31.14 kB / 439.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.3345, allocations: 18.16 kB / 439.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.472e-05/0.3346, allocations: 135 kB / 439.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3346, allocations: 0.7656 kB / 439.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000368/0.335, allocations: 77.62 kB / 439.5 MB, free: 6.605 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.3351, allocations: 119.8 kB / 439.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004566/0.3355, allocations: 274.2 kB / 439.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3356, allocations: 0 / 439.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.3357, allocations: 147 kB / 440.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005654/0.3363, allocations: 72.36 kB / 440.1 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.3377, allocations: 1.012 MB / 441.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.338, allocations: 0.7749 MB / 441.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.3381, allocations: 31.78 kB / 442 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.413e-05/0.3382, allocations: 31.5 kB / 442 MB, free: 4.93 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3382, allocations: 1.125 kB / 442 MB, free: 4.93 MB / 350.1 MB Notification: Performance of Templates: time 0.008163/0.3464, allocations: 3.153 MB / 445.1 MB, free: 4.711 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/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: 4.662035923451185]