Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001285/0.001285, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001412/0.001412, allocations: 210.3 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.428/1.428, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 75.81 kB / 378.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2172, allocations: 53.32 MB / 432 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003862/0.221, allocations: 2.517 MB / 434.6 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000504/0.2215, allocations: 263 kB / 434.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.2216, allocations: 4 kB / 434.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.2218, allocations: 39.58 kB / 434.9 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.222, allocations: 103.1 kB / 435 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.2222, allocations: 67.91 kB / 435 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.2225, allocations: 310.5 kB / 435.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.2227, allocations: 75.11 kB / 435.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.2228, allocations: 119.6 kB / 435.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.223, allocations: 131.4 kB / 435.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.2231, allocations: 24 kB / 435.7 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.608e-05/0.2231, allocations: 24 kB / 435.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.2232, allocations: 59.81 kB / 435.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.2233, allocations: 147.3 kB / 435.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.2237, allocations: 332.5 kB / 436.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2237, allocations: 0 / 436.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.2237, allocations: 0 / 436.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.2237, allocations: 0 / 436.2 MB, free: 3.219 MB / 334.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.0008963/0.2246, allocations: 0.565 MB / 436.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2247, allocations: 8.031 kB / 436.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.906e-05/0.2247, allocations: 32.75 kB / 436.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.225, allocations: 256.4 kB / 437.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.2251, allocations: 20.94 kB / 437.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-05/0.2251, allocations: 24.38 kB / 437.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/0.2256, allocations: 263.1 kB / 437.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.2256, allocations: 8.188 kB / 437.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.2256, allocations: 11.94 kB / 437.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.2256, allocations: 8 kB / 437.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/0.226, allocations: 171.8 kB / 437.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.2271, allocations: 0.7541 MB / 438.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.2275, allocations: 257.3 kB / 438.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.2278, allocations: 113.9 kB / 438.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.2278, allocations: 4 kB / 438.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.2278, allocations: 42.55 kB / 438.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 3.677e-06/0.2278, allocations: 3.984 kB / 438.7 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002922/0.2307, allocations: 1.711 MB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.2308, allocations: 81.11 kB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.231, allocations: 195.7 kB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.231, allocations: 29.7 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.722e-05/0.2311, allocations: 144.8 kB / 440.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.2312, allocations: 186.4 kB / 441.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.2314, allocations: 78.25 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.2315, allocations: 338.8 kB / 441.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.2317, allocations: 101.1 kB / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.2319, allocations: 157.4 kB / 441.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.2324, allocations: 294.1 kB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2324, allocations: 0 / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005811/0.233, allocations: 366 kB / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.233, allocations: 7.125 kB / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.233, allocations: 0 / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.233, allocations: 4 kB / 442.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.2334, allocations: 95.89 kB / 442.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.2334, allocations: 7.938 kB / 442.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.2336, allocations: 16.06 kB / 442.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.2336, allocations: 15.94 kB / 442.5 MB, free: 12.48 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.0001594/0.2337, allocations: 153.8 kB / 442.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.922e-05/0.2338, allocations: 31.75 kB / 442.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.761e-05/0.2339, allocations: 37.88 kB / 442.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.2339, allocations: 7.984 kB / 442.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2339, allocations: 0 / 442.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.388e-05/0.234, allocations: 96.97 kB / 442.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.234, allocations: 8 kB / 442.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.2342, allocations: 12 kB / 442.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.2343, allocations: 27.95 kB / 442.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009443/0.2352, allocations: 0.5297 MB / 443.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009266/0.2361, allocations: 0.7302 MB / 444.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002097/0.2363, allocations: 135 kB / 444.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.2365, allocations: 127.2 kB / 444.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Backend: time 3.81e-07/0.2365, allocations: 0 / 444.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007199/0.2372, allocations: 259.1 kB / 444.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of SimCode: time 0.001863/0.239, allocations: 1.412 MB / 446.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of Templates: time 0.008299/0.2473, allocations: 3.981 MB / 450 MB, free: 4.867 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.347275069914758]