Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001572/0.002574, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007536/0.0007536, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009634/0.001717, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9192/0.9192, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08189/1.001, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.31e-05, allocations: 5.406 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004598/0.004621, allocations: 2.517 MB / 247.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.005575, allocations: 274.8 kB / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.005764, allocations: 7.938 kB / 248 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.005914, allocations: 39.58 kB / 248 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.006186, allocations: 99.12 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.00639, allocations: 59.91 kB / 248.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004714/0.006861, allocations: 342.2 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.007087, allocations: 70.27 kB / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003695/0.007457, allocations: 208.3 kB / 248.8 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.007671, allocations: 99.69 kB / 248.9 MB, free: 9.852 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.16e-05/0.007733, allocations: 24 kB / 248.9 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.748e-05/0.00779, allocations: 24 kB / 248.9 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.174e-05/0.007842, allocations: 47.81 kB / 249 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.007952, allocations: 83.88 kB / 249.1 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.008269, allocations: 195.3 kB / 249.3 MB, free: 9.484 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.308e-05/0.008282, allocations: 0 / 249.3 MB, free: 9.484 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.008283, allocations: 0 / 249.3 MB, free: 9.484 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.008299, allocations: 0 / 249.3 MB, free: 9.484 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.0008111/0.00911, allocations: 0.531 MB / 249.8 MB, free: 8.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.009147, allocations: 12.62 kB / 249.8 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.682e-05/0.009233, allocations: 40.91 kB / 249.8 MB, free: 8.879 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.009501, allocations: 169.3 kB / 250 MB, free: 8.688 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.009525, allocations: 24.97 kB / 250 MB, free: 8.664 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/0.009578, allocations: 32.33 kB / 250.1 MB, free: 8.633 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.009872, allocations: 196.3 kB / 250.3 MB, free: 8.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.009888, allocations: 192 / 250.3 MB, free: 8.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.00991, allocations: 15.94 kB / 250.3 MB, free: 8.414 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.00992, allocations: 4 kB / 250.3 MB, free: 8.41 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.01008, allocations: 79.86 kB / 250.3 MB, free: 8.332 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008038/0.01088, allocations: 499.6 kB / 250.8 MB, free: 7.824 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.01116, allocations: 181 kB / 251 MB, free: 7.629 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.872e-05/0.01126, allocations: 74.23 kB / 251.1 MB, free: 7.551 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.01128, allocations: 7.906 kB / 251.1 MB, free: 7.543 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.01131, allocations: 42.55 kB / 251.1 MB, free: 7.492 MB / 250.7 MB Notification: Performance of pre-optimization done (n=36): time 4.429e-06/0.01132, allocations: 3.984 kB / 251.1 MB, free: 7.488 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.002415/0.01373, allocations: 1.2 MB / 252.3 MB, free: 6.191 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.01378, allocations: 85.05 kB / 252.4 MB, free: 6.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.01391, allocations: 163.1 kB / 252.6 MB, free: 5.918 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.01394, allocations: 37.7 kB / 252.6 MB, free: 5.875 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.01402, allocations: 136.8 kB / 252.8 MB, free: 5.734 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.01415, allocations: 182.4 kB / 252.9 MB, free: 5.555 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.01426, allocations: 74.17 kB / 253 MB, free: 5.477 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.01437, allocations: 346.7 kB / 253.3 MB, free: 5.129 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.569e-05/0.01446, allocations: 40.98 kB / 253.4 MB, free: 5.09 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.01457, allocations: 96.83 kB / 253.5 MB, free: 4.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.01481, allocations: 173.9 kB / 253.6 MB, free: 4.801 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01481, allocations: 0 / 253.6 MB, free: 4.801 MB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003176/0.01513, allocations: 210.4 kB / 253.8 MB, free: 4.59 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.01515, allocations: 4 kB / 253.9 MB, free: 4.586 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.01515, allocations: 4 kB / 253.9 MB, free: 4.582 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.01518, allocations: 8 kB / 253.9 MB, free: 4.574 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.01562, allocations: 127.8 kB / 254 MB, free: 4.449 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.01563, allocations: 4 kB / 254 MB, free: 4.445 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.881e-05/0.01573, allocations: 12 kB / 254 MB, free: 4.434 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.01575, allocations: 12 kB / 254 MB, free: 4.422 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.0001095/0.01586, allocations: 129.7 kB / 254.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.01593, allocations: 39.91 kB / 254.2 MB, free: 4.246 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.866e-05/0.016, allocations: 37.95 kB / 254.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.01601, allocations: 11.94 kB / 254.2 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.01601, allocations: 4 kB / 254.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.01602, allocations: 0 / 254.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000896/0.01691, allocations: 0.5977 MB / 254.8 MB, free: 3.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.01692, allocations: 4 kB / 254.8 MB, free: 3.566 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/0.01736, allocations: 122.1 kB / 255 MB, free: 3.453 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.0174, allocations: 31.88 kB / 255 MB, free: 3.422 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.01741, allocations: 3.938 kB / 255 MB, free: 3.418 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.01744, allocations: 12 kB / 255 MB, free: 3.406 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.01744, allocations: 4 kB / 255 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.01744, allocations: 3.938 kB / 255 MB, free: 3.398 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/0.01793, allocations: 465.6 kB / 255.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.01797, allocations: 11.94 kB / 255.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.01813, allocations: 12 kB / 255.5 MB, free: 2.895 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.01818, allocations: 27.94 kB / 255.5 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.0182, allocations: 8 kB / 255.5 MB, free: 2.859 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.559e-05/0.01825, allocations: 53.8 kB / 255.6 MB, free: 2.805 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01825, allocations: 0 / 255.6 MB, free: 2.805 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003485/0.0186, allocations: 80 kB / 255.7 MB, free: 2.727 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.0001405/0.01874, allocations: 88.36 kB / 255.7 MB, free: 2.629 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003034/0.01904, allocations: 193.2 kB / 255.9 MB, free: 2.441 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.571e-05/0.01906, allocations: 4 kB / 255.9 MB, free: 2.438 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.01923, allocations: 141.9 kB / 256.1 MB, free: 2.293 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007145/0.01995, allocations: 0.7154 MB / 256.8 MB, free: 1.434 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.02187, allocations: 0.6298 MB / 257.4 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.02198, allocations: 101.6 kB / 257.5 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001712/0.02215, allocations: 34.95 kB / 257.6 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.0223, allocations: 115.3 kB / 257.7 MB, free: 0.5 MB / 250.7 MB Notification: Performance of SimCode: time 1.343e-06/0.0223, allocations: 0 / 257.7 MB, free: 0.5 MB / 250.7 MB Notification: Performance of Templates: time 0.005153/0.02745, allocations: 3.489 MB / 261.2 MB, free: 13.07 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.471195043064654]