Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 110.8 kB / 21.19 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002339/0.002339, allocations: 205.2 kB / 24.49 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.624/1.624, allocations: 230.6 MB / 258.3 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 51.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2155, allocations: 53.35 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.00358/0.2191, allocations: 2.263 MB / 434.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2203, allocations: 0.6154 MB / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.2204, allocations: 7.938 kB / 435.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.2205, allocations: 31.66 kB / 435.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.2207, allocations: 79.33 kB / 435.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.2209, allocations: 67.86 kB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000293/0.2212, allocations: 258.8 kB / 435.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.2213, allocations: 69.05 kB / 435.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.2215, allocations: 107.6 kB / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.2217, allocations: 107.5 kB / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.2217, allocations: 20 kB / 435.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.15e-05/0.2218, allocations: 28 kB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.257e-05/0.2218, allocations: 47.78 kB / 436 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.802e-05/0.2219, allocations: 95.53 kB / 436.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.2222, allocations: 253.8 kB / 436.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2222, allocations: 4 kB / 436.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2222, allocations: 0 / 436.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2223, allocations: 0 / 436.4 MB, free: 2.676 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007041/0.223, allocations: 453.6 kB / 436.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.223, allocations: 8.031 kB / 436.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.2232, allocations: 36.78 kB / 436.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.2235, allocations: 186.7 kB / 437 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.2235, allocations: 16.81 kB / 437 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.2235, allocations: 24.38 kB / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.2239, allocations: 210.2 kB / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.2239, allocations: 7.953 kB / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.224, allocations: 7.984 kB / 437.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.224, allocations: 4 kB / 437.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.2242, allocations: 129.6 kB / 437.4 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009721/0.2252, allocations: 0.596 MB / 438 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.2255, allocations: 134.5 kB / 438.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.2256, allocations: 68.77 kB / 438.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.2256, allocations: 4 kB / 438.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.2257, allocations: 34.56 kB / 438.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.2257, allocations: 0 / 438.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.00156/0.2272, allocations: 0.7341 MB / 439 MB, free: 15.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.2272, allocations: 59.34 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.2274, allocations: 167 kB / 439.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.2274, allocations: 29.7 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.2275, allocations: 148.3 kB / 439.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.663e-05/0.2276, allocations: 99.14 kB / 439.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.532e-05/0.2277, allocations: 45.7 kB / 439.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2278, allocations: 326.8 kB / 439.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.228, allocations: 59.97 kB / 439.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.2281, allocations: 105.3 kB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.2284, allocations: 164.2 kB / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2284, allocations: 4 kB / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004688/0.2289, allocations: 262.1 kB / 440.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2289, allocations: 7.984 kB / 440.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2289, allocations: 0 / 440.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.2291, allocations: 32.84 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.2293, allocations: 47.97 kB / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.2305, allocations: 1.347 MB / 441.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.2307, allocations: 12.09 kB / 441.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.2307, allocations: 19.88 kB / 441.9 MB, free: 12.77 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.2308, allocations: 129.8 kB / 442 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.2308, allocations: 19.86 kB / 442 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.2309, allocations: 25.95 kB / 442.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.2309, allocations: 0 / 442.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2309, allocations: 0 / 442.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/0.2309, allocations: 15.91 kB / 442.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.231, allocations: 11.92 kB / 442.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.2311, allocations: 12 kB / 442.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.2311, allocations: 15.91 kB / 442.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006492/0.2318, allocations: 317.2 kB / 442.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005481/0.2323, allocations: 442.3 kB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001341/0.2325, allocations: 75.75 kB / 442.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.995e-05/0.2326, allocations: 131.2 kB / 443.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of Backend: time 2.51e-07/0.2326, allocations: 0 / 443.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008396/0.2334, allocations: 303.1 kB / 443.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of SimCode: time 0.001674/0.2351, allocations: 1.122 MB / 444.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Templates: time 0.01/0.2451, allocations: 3.064 MB / 447.5 MB, free: 7.066 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.375977051000518]