Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.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.001564/0.001564, allocations: 112.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.001699/0.001699, allocations: 211 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.426/1.426, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First") [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.001923/0.001923, allocations: 71.84 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2155, allocations: 53.31 MB / 432 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003834/0.2193, allocations: 2.392 MB / 434.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2206, allocations: 0.6583 MB / 435.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.2207, allocations: 7.938 kB / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.2209, allocations: 35.64 kB / 435.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.221, allocations: 79.27 kB / 435.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.2213, allocations: 67.81 kB / 435.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000349/0.2217, allocations: 278.7 kB / 435.6 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.2218, allocations: 74.77 kB / 435.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.2221, allocations: 115.5 kB / 435.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.2222, allocations: 107.5 kB / 435.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.2223, allocations: 20 kB / 435.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.249e-05/0.2224, allocations: 28 kB / 435.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.2224, allocations: 51.78 kB / 435.9 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.2225, allocations: 127.3 kB / 436.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.2229, allocations: 268.8 kB / 436.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2229, allocations: 4 kB / 436.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2229, allocations: 0 / 436.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.2229, allocations: 4 kB / 436.3 MB, free: 3.043 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008083/0.2237, allocations: 0.5221 MB / 436.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2238, allocations: 8.922 kB / 436.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.2239, allocations: 40.73 kB / 436.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.2243, allocations: 256.6 kB / 437.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.2243, allocations: 16.81 kB / 437.2 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.2244, allocations: 24.33 kB / 437.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.2248, allocations: 199.6 kB / 437.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.2248, allocations: 0 / 437.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.2248, allocations: 12 kB / 437.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2248, allocations: 4 kB / 437.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.2251, allocations: 137.7 kB / 437.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.2261, allocations: 0.6348 MB / 438.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.2264, allocations: 162.5 kB / 438.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.2266, allocations: 91.77 kB / 438.4 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.2266, allocations: 8 kB / 438.4 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.2267, allocations: 34.66 kB / 438.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.2267, allocations: 3.938 kB / 438.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002057/0.2287, allocations: 1.073 MB / 439.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.2288, allocations: 51.41 kB / 439.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.229, allocations: 186.8 kB / 439.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.229, allocations: 29.7 kB / 439.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2291, allocations: 152.7 kB / 440 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.797e-05/0.2292, allocations: 118.9 kB / 440.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-05/0.2293, allocations: 57.7 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2294, allocations: 334.8 kB / 440.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.2296, allocations: 71.91 kB / 440.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.2298, allocations: 103.2 kB / 440.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.2301, allocations: 197 kB / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2301, allocations: 3.938 kB / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005505/0.2307, allocations: 287.3 kB / 441.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2307, allocations: 4 kB / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2307, allocations: 4 kB / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.2309, allocations: 40.83 kB / 441.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.2311, allocations: 63.97 kB / 441.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.2328, allocations: 1.736 MB / 443 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.2329, allocations: 11.98 kB / 443 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.2329, allocations: 8 kB / 443 MB, free: 11.95 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.2331, allocations: 137.8 kB / 443.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.2331, allocations: 27.8 kB / 443.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.773e-05/0.2332, allocations: 34.64 kB / 443.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2332, allocations: 4.062 kB / 443.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2332, allocations: 0 / 443.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.261e-05/0.2333, allocations: 92.97 kB / 443.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.2333, allocations: 11.98 kB / 443.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.2334, allocations: 8 kB / 443.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.2335, allocations: 19.97 kB / 443.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008182/0.2343, allocations: 401.5 kB / 443.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006969/0.235, allocations: 0.5145 MB / 444.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001672/0.2352, allocations: 87.97 kB / 444.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.2353, allocations: 132.4 kB / 444.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Backend: time 2.1e-07/0.2353, allocations: 4 kB / 444.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008218/0.2361, allocations: 349 kB / 444.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of SimCode: time 0.001395/0.2375, allocations: 1.16 MB / 445.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of Templates: time 0.007479/0.245, allocations: 3.103 MB / 449 MB, free: 5.781 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.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.220284266397357]