Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002086/0.00317, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009234/0.0009234, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009996/0.001923, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9389/0.9389, allocations: 173.3 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08714/1.026, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 239.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.803e-05, allocations: 2.312 kB / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002507/0.002525, allocations: 2.493 MB / 242 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004069/0.002932, allocations: 274.8 kB / 242.3 MB, free: 428 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.018e-05/0.003022, allocations: 11.88 kB / 242.3 MB, free: 416 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.066e-05/0.003103, allocations: 47.56 kB / 242.4 MB, free: 368 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.003228, allocations: 99.08 kB / 242.5 MB, free: 268 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001048/0.003333, allocations: 63.89 kB / 242.5 MB, free: 204 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.003577, allocations: 326.3 kB / 242.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.003714, allocations: 70.27 kB / 242.9 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.003891, allocations: 212.2 kB / 243.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.004017, allocations: 95.75 kB / 243.2 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.004052, allocations: 27.94 kB / 243.2 MB, free: 15.47 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.903e-05/0.004081, allocations: 28 kB / 243.3 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.004111, allocations: 43.88 kB / 243.3 MB, free: 15.4 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.846e-05/0.004179, allocations: 87.81 kB / 243.4 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.004369, allocations: 187.3 kB / 243.6 MB, free: 15.13 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-05/0.004383, allocations: 0 / 243.6 MB, free: 15.13 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004384, allocations: 3.938 kB / 243.6 MB, free: 15.13 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.004401, allocations: 0 / 243.6 MB, free: 15.13 MB / 250.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.0005518/0.004952, allocations: 0.535 MB / 244.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.004982, allocations: 12.02 kB / 244.1 MB, free: 14.56 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.005031, allocations: 40.91 kB / 244.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.005209, allocations: 177.3 kB / 244.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.005226, allocations: 21.03 kB / 244.4 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.005261, allocations: 32.31 kB / 244.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.005441, allocations: 192.3 kB / 244.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.005453, allocations: 192 / 244.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.005468, allocations: 19.94 kB / 244.6 MB, free: 14.05 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.005476, allocations: 7.984 kB / 244.6 MB, free: 14.04 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.882e-05/0.005575, allocations: 79.88 kB / 244.7 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.00611, allocations: 499.6 kB / 245.2 MB, free: 13.46 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.006299, allocations: 188.8 kB / 245.4 MB, free: 13.25 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.006359, allocations: 65.67 kB / 245.4 MB, free: 13.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.006373, allocations: 8 kB / 245.4 MB, free: 13.18 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.006398, allocations: 38.56 kB / 245.5 MB, free: 13.13 MB / 250.7 MB Notification: Performance of pre-optimization done (n=36): time 1.433e-06/0.006399, allocations: 0 / 245.5 MB, free: 13.13 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.001395/0.007794, allocations: 1.191 MB / 246.7 MB, free: 11.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.007833, allocations: 81.11 kB / 246.7 MB, free: 11.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.525e-05/0.007918, allocations: 166.5 kB / 246.9 MB, free: 11.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.007934, allocations: 37.64 kB / 246.9 MB, free: 11.53 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.007989, allocations: 136.8 kB / 247.1 MB, free: 11.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.009e-05/0.008069, allocations: 182.4 kB / 247.2 MB, free: 11.21 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-05/0.008132, allocations: 82.11 kB / 247.3 MB, free: 11.12 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.008212, allocations: 338.8 kB / 247.7 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/0.008254, allocations: 36.98 kB / 247.7 MB, free: 10.75 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-05/0.008326, allocations: 100.8 kB / 247.8 MB, free: 10.63 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.008464, allocations: 169.9 kB / 248 MB, free: 10.45 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.008465, allocations: 0 / 248 MB, free: 10.45 MB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0001822/0.008647, allocations: 214.2 kB / 248.2 MB, free: 10.24 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.008661, allocations: 13.25 kB / 248.2 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.008667, allocations: 0 / 248.2 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.008679, allocations: 7.938 kB / 248.2 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.008961, allocations: 123.9 kB / 248.3 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.008967, allocations: 7.984 kB / 248.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.009018, allocations: 8 kB / 248.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.009029, allocations: 12 kB / 248.3 MB, free: 10.07 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 8.512e-05/0.009114, allocations: 129.7 kB / 248.5 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.009163, allocations: 47.91 kB / 248.5 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.376e-05/0.009217, allocations: 37.95 kB / 248.5 MB, free: 9.852 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.00922, allocations: 4 kB / 248.5 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.009224, allocations: 0 / 248.5 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.009228, allocations: 0 / 248.5 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.009813, allocations: 0.5951 MB / 249.1 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.009817, allocations: 4 kB / 249.1 MB, free: 9.219 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.0101, allocations: 125.5 kB / 249.3 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.01012, allocations: 23.8 kB / 249.3 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.01013, allocations: 7.938 kB / 249.3 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.01015, allocations: 12 kB / 249.3 MB, free: 9.055 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01015, allocations: 0 / 249.3 MB, free: 9.055 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.01015, allocations: 4 kB / 249.3 MB, free: 9.051 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.01048, allocations: 461.7 kB / 249.8 MB, free: 8.578 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.0105, allocations: 11.94 kB / 249.8 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.508e-05/0.01059, allocations: 12 kB / 249.8 MB, free: 8.555 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.01062, allocations: 39.81 kB / 249.8 MB, free: 8.516 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.01063, allocations: 4 kB / 249.8 MB, free: 8.512 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.927e-05/0.01066, allocations: 49.33 kB / 249.9 MB, free: 8.461 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01066, allocations: 0 / 249.9 MB, free: 8.461 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.01086, allocations: 76 kB / 250 MB, free: 8.387 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.000102/0.01096, allocations: 96.34 kB / 250 MB, free: 8.285 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.01117, allocations: 185.5 kB / 250.2 MB, free: 8.102 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/0.01118, allocations: 12.06 kB / 250.2 MB, free: 8.09 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.988e-05/0.01126, allocations: 112.7 kB / 250.4 MB, free: 7.98 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.01157, allocations: 90.83 kB / 250.4 MB, free: 7.895 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.01284, allocations: 0.6322 MB / 251.1 MB, free: 7.227 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.158e-05/0.0129, allocations: 97.61 kB / 251.2 MB, free: 7.109 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.424e-05/0.01298, allocations: 30.97 kB / 251.2 MB, free: 7.082 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.01312, allocations: 119.3 kB / 251.3 MB, free: 6.965 MB / 250.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01312, allocations: 0 / 251.3 MB, free: 6.965 MB / 250.7 MB Notification: Performance of Templates: time 0.005356/0.01847, allocations: 3.616 MB / 254.9 MB, free: 3.422 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.503656561486423]