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.001569/0.001569, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001695/0.001695, allocations: 211.4 kB / 24.48 MB, free: 3.977 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.431/1.431, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001558/0.001558, allocations: 47.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2247, allocations: 53.36 MB / 432.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003665/0.2284, allocations: 2.251 MB / 434.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.2295, allocations: 0.6194 MB / 435.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.2296, allocations: 11.88 kB / 435.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.2298, allocations: 35.66 kB / 435.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.2299, allocations: 71.36 kB / 435.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.2302, allocations: 63.84 kB / 435.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.2305, allocations: 254.8 kB / 435.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.2306, allocations: 73.05 kB / 435.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.2308, allocations: 115.5 kB / 435.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.231, allocations: 99.56 kB / 435.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.231, allocations: 16 kB / 435.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.418e-05/0.2311, allocations: 35.92 kB / 436 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.979e-05/0.2311, allocations: 39.86 kB / 436 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.2312, allocations: 103.6 kB / 436.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.2316, allocations: 253.7 kB / 436.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2316, allocations: 4 kB / 436.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2316, allocations: 0 / 436.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.2316, allocations: 0 / 436.3 MB, free: 2.633 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.0007235/0.2323, allocations: 453.6 kB / 436.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.2323, allocations: 8.031 kB / 436.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.2325, allocations: 36.78 kB / 436.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.2328, allocations: 182.8 kB / 437 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.2328, allocations: 20.81 kB / 437 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.2329, allocations: 24.31 kB / 437.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.2333, allocations: 214.2 kB / 437.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.2333, allocations: 3.953 kB / 437.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.2333, allocations: 4 kB / 437.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2333, allocations: 8 kB / 437.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.2336, allocations: 125.7 kB / 437.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000981/0.2346, allocations: 0.5959 MB / 438 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.2348, allocations: 142.1 kB / 438.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.235, allocations: 67.41 kB / 438.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.235, allocations: 7.984 kB / 438.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.235, allocations: 34.56 kB / 438.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.235, allocations: 4 kB / 438.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001598/0.2366, allocations: 0.7378 MB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.2367, allocations: 59.16 kB / 439 MB, free: 15.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.2368, allocations: 167 kB / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.2369, allocations: 29.7 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.925e-05/0.237, allocations: 144.3 kB / 439.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.298e-05/0.237, allocations: 91.22 kB / 439.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.533e-05/0.2371, allocations: 45.7 kB / 439.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2372, allocations: 330.8 kB / 439.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.2374, allocations: 59.97 kB / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.2375, allocations: 105.2 kB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.2378, allocations: 164.2 kB / 440.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2378, allocations: 0 / 440.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000462/0.2383, allocations: 258 kB / 440.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2383, allocations: 4 kB / 440.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.2383, allocations: 4 kB / 440.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/0.2385, allocations: 36.77 kB / 440.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.2387, allocations: 51.97 kB / 440.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.24, allocations: 1.343 MB / 441.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.2401, allocations: 15.95 kB / 441.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.2401, allocations: 8 kB / 441.9 MB, free: 12.74 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.0001362/0.2402, allocations: 137.8 kB / 442 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.2403, allocations: 20 kB / 442 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.642e-05/0.2403, allocations: 29.94 kB / 442 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2403, allocations: 0 / 442 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2403, allocations: 4 kB / 442.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.2404, allocations: 12 kB / 442.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008978/0.2413, allocations: 0.5609 MB / 442.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2413, allocations: 0 / 442.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.2415, allocations: 47.91 kB / 442.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001192/0.2416, allocations: 32.83 kB / 442.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.2416, allocations: 8 kB / 442.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.2428, allocations: 1.351 MB / 444.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.2428, allocations: 7.969 kB / 444.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/0.2434, allocations: 409.7 kB / 444.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.2434, allocations: 15.86 kB / 444.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.2435, allocations: 8 kB / 444.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2436, allocations: 20.03 kB / 444.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.2436, allocations: 11.97 kB / 444.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.2437, allocations: 12 kB / 444.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.2438, allocations: 119.2 kB / 444.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2438, allocations: 0 / 444.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003312/0.2441, allocations: 56 kB / 444.7 MB, free: 9.711 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0001111/0.2442, allocations: 103.5 kB / 444.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000553/0.2448, allocations: 290.3 kB / 445.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2448, allocations: 0 / 445.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.2451, allocations: 202.6 kB / 445.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.2455, allocations: 51.89 kB / 445.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.2468, allocations: 0.6847 MB / 446 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.2469, allocations: 142.5 kB / 446.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.274e-05/0.247, allocations: 13.95 kB / 446.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.247, allocations: 19.44 kB / 446.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.247, allocations: 0 / 446.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of Templates: time 0.006733/0.2538, allocations: 2.794 MB / 449 MB, free: 5.375 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 -s gbode -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.4352440960065]