Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.001553/0.001553, allocations: 114.5 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.001684/0.001684, allocations: 211.4 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.439/1.439, allocations: 230.4 MB / 258.1 MB, free: 8.164 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.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-beta.om_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-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [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.00196/0.00196, allocations: 71.83 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.215, allocations: 53.31 MB / 432 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.00369/0.2187, allocations: 2.395 MB / 434.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.2198, allocations: 0.6543 MB / 435.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.2199, allocations: 8 kB / 435.1 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.22, allocations: 35.59 kB / 435.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.2202, allocations: 75.34 kB / 435.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.2204, allocations: 59.91 kB / 435.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.2207, allocations: 258.8 kB / 435.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.2209, allocations: 68.31 kB / 435.6 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.2211, allocations: 107.6 kB / 435.7 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.2212, allocations: 107.5 kB / 435.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.2213, allocations: 20 kB / 435.8 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.882e-05/0.2214, allocations: 27.98 kB / 435.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.2214, allocations: 47.8 kB / 435.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.2215, allocations: 111.4 kB / 436 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.2218, allocations: 264.4 kB / 436.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2218, allocations: 0 / 436.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2218, allocations: 0 / 436.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2219, allocations: 0 / 436.3 MB, free: 3.18 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.0007698/0.2226, allocations: 0.5182 MB / 436.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2227, allocations: 12.03 kB / 436.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.2228, allocations: 32.78 kB / 436.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.2231, allocations: 252.6 kB / 437.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.2232, allocations: 12.81 kB / 437.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.2232, allocations: 28.38 kB / 437.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.2236, allocations: 214.1 kB / 437.3 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.2236, allocations: 3.953 kB / 437.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.2236, allocations: 12 kB / 437.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2236, allocations: 4 kB / 437.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.2239, allocations: 121.7 kB / 437.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.225, allocations: 0.7095 MB / 438.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.2252, allocations: 138.5 kB / 438.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.2254, allocations: 64.83 kB / 438.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.2254, allocations: 0 / 438.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.2254, allocations: 38.56 kB / 438.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.112e-06/0.2254, allocations: 0 / 438.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001647/0.2271, allocations: 0.8893 MB / 439.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.2271, allocations: 59.39 kB / 439.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.2273, allocations: 176.3 kB / 439.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.2273, allocations: 33.64 kB / 439.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.849e-05/0.2274, allocations: 152.4 kB / 439.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.994e-05/0.2275, allocations: 87.22 kB / 439.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.2276, allocations: 57.69 kB / 439.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2277, allocations: 330.8 kB / 440.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.2279, allocations: 55.97 kB / 440.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.228, allocations: 100.2 kB / 440.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.2283, allocations: 168.9 kB / 440.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2283, allocations: 0 / 440.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004697/0.2288, allocations: 254 kB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2288, allocations: 6.5 kB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2288, allocations: 4 kB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.229, allocations: 40.95 kB / 440.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.2292, allocations: 47.92 kB / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.2305, allocations: 1.478 MB / 442.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.2306, allocations: 8.016 kB / 442.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.2306, allocations: 15.94 kB / 442.3 MB, free: 12.61 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.0001335/0.2308, allocations: 137.8 kB / 442.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.2308, allocations: 23.86 kB / 442.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.2309, allocations: 21.88 kB / 442.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2309, allocations: 8.047 kB / 442.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2309, allocations: 3.938 kB / 442.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.78e-05/0.231, allocations: 89.02 kB / 442.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.231, allocations: 8 kB / 442.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.2311, allocations: 7.984 kB / 442.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.2312, allocations: 11.98 kB / 442.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006675/0.2318, allocations: 325.6 kB / 443 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005747/0.2324, allocations: 450.3 kB / 443.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000131/0.2325, allocations: 62.81 kB / 443.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.2326, allocations: 128.1 kB / 443.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Backend: time 1.51e-07/0.2326, allocations: 0 / 443.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00074/0.2334, allocations: 320.8 kB / 443.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of SimCode: time 0.001303/0.2347, allocations: 1.114 MB / 445 MB, free: 9.805 MB / 350.1 MB Notification: Performance of Templates: time 0.006589/0.2413, allocations: 2.691 MB / 447.7 MB, free: 7.129 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.242377889808267]