Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001352/0.001352, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001579/0.001579, allocations: 205.2 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 67.91 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2412, allocations: 53.41 MB / 431.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003989/0.2452, allocations: 2.251 MB / 433.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.2464, allocations: 0.6232 MB / 434.5 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.2466, allocations: 7.938 kB / 434.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.2467, allocations: 35.66 kB / 434.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.2469, allocations: 75.33 kB / 434.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.2472, allocations: 55.88 kB / 434.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.2476, allocations: 262.8 kB / 434.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.2478, allocations: 60.31 kB / 435 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.248, allocations: 115.6 kB / 435.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.2482, allocations: 95.55 kB / 435.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.2482, allocations: 16 kB / 435.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.161e-05/0.2483, allocations: 31.94 kB / 435.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.2483, allocations: 47.77 kB / 435.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.2485, allocations: 95.59 kB / 435.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.2488, allocations: 253.4 kB / 435.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2488, allocations: 0 / 435.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2488, allocations: 0 / 435.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.2488, allocations: 0 / 435.6 MB, free: 2.5 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.0007744/0.2496, allocations: 453.6 kB / 436.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2496, allocations: 11.98 kB / 436.1 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.2498, allocations: 36.78 kB / 436.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.2502, allocations: 198.7 kB / 436.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.2502, allocations: 12.81 kB / 436.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.2503, allocations: 20.38 kB / 436.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.2507, allocations: 218.2 kB / 436.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.2507, allocations: 3.953 kB / 436.6 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.2507, allocations: 8 kB / 436.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.2508, allocations: 11.98 kB / 436.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.2511, allocations: 125.6 kB / 436.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.2521, allocations: 0.5921 MB / 437.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.2524, allocations: 138.5 kB / 437.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.2525, allocations: 71.58 kB / 437.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.2526, allocations: 4 kB / 437.5 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.2526, allocations: 34.5 kB / 437.5 MB, free: 480 kB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.2526, allocations: 0 / 437.5 MB, free: 480 kB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001676/0.2543, allocations: 0.7388 MB / 438.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.2543, allocations: 55.34 kB / 438.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.2545, allocations: 170.5 kB / 438.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.2545, allocations: 29.7 kB / 438.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.2546, allocations: 148.3 kB / 438.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.539e-05/0.2547, allocations: 91.22 kB / 438.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.376e-05/0.2548, allocations: 45.7 kB / 438.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2549, allocations: 326.8 kB / 439.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.2551, allocations: 55.97 kB / 439.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.2552, allocations: 109.2 kB / 439.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.2555, allocations: 172.8 kB / 439.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2555, allocations: 0 / 439.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004617/0.256, allocations: 246.1 kB / 439.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.256, allocations: 7.984 kB / 439.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.256, allocations: 4 kB / 439.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/0.2562, allocations: 40.95 kB / 439.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.2564, allocations: 51.91 kB / 439.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.2577, allocations: 1.343 MB / 441.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.2578, allocations: 11.97 kB / 441.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.2578, allocations: 8 kB / 441.2 MB, free: 12.6 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.0001543/0.258, allocations: 137.8 kB / 441.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.258, allocations: 23.86 kB / 441.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.562e-05/0.2581, allocations: 29.95 kB / 441.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2581, allocations: 0 / 441.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2581, allocations: 4 kB / 441.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2581, allocations: 3.938 kB / 441.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009124/0.259, allocations: 0.5541 MB / 441.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.259, allocations: 4.062 kB / 441.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.2592, allocations: 55.8 kB / 442 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001179/0.2594, allocations: 36.97 kB / 442 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.2594, allocations: 8 kB / 442 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.2605, allocations: 1.343 MB / 443.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.2605, allocations: 7.969 kB / 443.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005842/0.2611, allocations: 402.2 kB / 443.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.2612, allocations: 19.8 kB / 443.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.2612, allocations: 12.03 kB / 443.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.2613, allocations: 4 kB / 443.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.2614, allocations: 19.97 kB / 443.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.2614, allocations: 4 kB / 443.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.2615, allocations: 127.2 kB / 443.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2615, allocations: 0 / 443.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003484/0.2618, allocations: 60 kB / 444 MB, free: 9.57 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.0001571/0.262, allocations: 103.2 kB / 444.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006216/0.2626, allocations: 282.3 kB / 444.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2626, allocations: 4 kB / 444.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.2629, allocations: 206.9 kB / 444.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.2634, allocations: 51.14 kB / 444.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.2646, allocations: 0.6819 MB / 445.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.2648, allocations: 134.5 kB / 445.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.523e-05/0.2649, allocations: 21.95 kB / 445.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.2649, allocations: 19.44 kB / 445.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2649, allocations: 0 / 445.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of Templates: time 0.00699/0.2719, allocations: 2.72 MB / 448.2 MB, free: 5.312 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.4674810860306025]