Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.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.001302/0.001302, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001403/0.001403, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.145 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.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows") [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.001915/0.001915, allocations: 67.83 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2184, allocations: 53.31 MB / 432 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003555/0.222, allocations: 2.283 MB / 434.3 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004778/0.2225, allocations: 203.3 kB / 434.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.2226, allocations: 4 kB / 434.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.2227, allocations: 39.64 kB / 434.6 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.2228, allocations: 59.42 kB / 434.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.223, allocations: 51.92 kB / 434.7 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.2234, allocations: 235 kB / 434.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.2235, allocations: 86.55 kB / 435 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.2237, allocations: 87.7 kB / 435.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.2239, allocations: 107.5 kB / 435.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.2239, allocations: 20 kB / 435.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.985e-05/0.2239, allocations: 20 kB / 435.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.475e-05/0.224, allocations: 47.84 kB / 435.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.2241, allocations: 115.5 kB / 435.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.2244, allocations: 252.5 kB / 435.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2244, allocations: 0 / 435.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2244, allocations: 0 / 435.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.2244, allocations: 4 kB / 435.6 MB, free: 3.758 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007651/0.2252, allocations: 0.5068 MB / 436.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2252, allocations: 8.031 kB / 436.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.2253, allocations: 28.8 kB / 436.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.2255, allocations: 230.6 kB / 436.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.2256, allocations: 20.88 kB / 436.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.2256, allocations: 28.33 kB / 436.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.226, allocations: 224.9 kB / 436.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.226, allocations: 4.125 kB / 436.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.226, allocations: 19.92 kB / 436.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.226, allocations: 4 kB / 436.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.2263, allocations: 135.9 kB / 436.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.2275, allocations: 0.852 MB / 437.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.2277, allocations: 151.7 kB / 437.8 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.2278, allocations: 58.56 kB / 437.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.2278, allocations: 4 kB / 437.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.2279, allocations: 50.44 kB / 437.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.2279, allocations: 0 / 437.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003899/0.2282, allocations: 165.8 kB / 438.1 MB, free: 1.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.2283, allocations: 106.8 kB / 438.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.2285, allocations: 191.8 kB / 438.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.2285, allocations: 29.7 kB / 438.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.2286, allocations: 172.3 kB / 438.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.2287, allocations: 59.48 kB / 438.6 MB, free: 492 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.485e-05/0.2288, allocations: 57.94 kB / 438.7 MB, free: 424 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2289, allocations: 326.8 kB / 439 MB, free: 88 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.049e-05/0.229, allocations: 52.48 kB / 439.1 MB, free: 36 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.2292, allocations: 155.7 kB / 439.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.2295, allocations: 226.1 kB / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2295, allocations: 3.938 kB / 439.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003771/0.2299, allocations: 241.7 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2299, allocations: 10.75 kB / 439.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.2299, allocations: 4 kB / 439.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2299, allocations: 4 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.2301, allocations: 67.89 kB / 439.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.2301, allocations: 11.94 kB / 439.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.2303, allocations: 31.73 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.2303, allocations: 8 kB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.000125/0.2304, allocations: 145.8 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/0.2305, allocations: 23.83 kB / 440 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.117e-05/0.2306, allocations: 29.34 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2306, allocations: 0 / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2306, allocations: 0 / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.2306, allocations: 93 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.2307, allocations: 8 kB / 440.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.2308, allocations: 0 / 440.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.2308, allocations: 19.92 kB / 440.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004785/0.2313, allocations: 391.3 kB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004632/0.2318, allocations: 0.512 MB / 441 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.075e-05/0.2319, allocations: 44.33 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.232, allocations: 144.4 kB / 441.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of Backend: time 3.11e-07/0.232, allocations: 0 / 441.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006182/0.2326, allocations: 174.2 kB / 441.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of SimCode: time 0.001243/0.2339, allocations: 1.03 MB / 442.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of Templates: time 0.005336/0.2392, allocations: 2.062 MB / 444.5 MB, free: 10.44 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.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.122954992111772]