Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 189.4 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 47.91 kB / 370.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.241, allocations: 52.19 MB / 423.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.00389/0.2449, allocations: 2.378 MB / 425.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.246, allocations: 0.5844 MB / 426.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.2461, allocations: 7.938 kB / 426.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.2463, allocations: 31.66 kB / 426.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.2464, allocations: 75.33 kB / 426.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.2466, allocations: 47.94 kB / 426.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.2469, allocations: 266.8 kB / 426.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.2471, allocations: 64.56 kB / 426.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.2473, allocations: 107.6 kB / 426.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.2475, allocations: 103.5 kB / 426.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.2475, allocations: 20 kB / 426.8 MB, free: 11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.368e-05/0.2475, allocations: 20 kB / 426.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.2476, allocations: 43.83 kB / 426.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.2477, allocations: 119.4 kB / 427 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.2481, allocations: 248.2 kB / 427.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2481, allocations: 0 / 427.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2481, allocations: 0 / 427.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.2481, allocations: 0 / 427.2 MB, free: 10.59 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.0007923/0.2489, allocations: 457.5 kB / 427.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2489, allocations: 12.03 kB / 427.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.343e-05/0.249, allocations: 36.73 kB / 427.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.2494, allocations: 166.9 kB / 427.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.2494, allocations: 16.81 kB / 427.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/0.2494, allocations: 24.38 kB / 427.9 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.2499, allocations: 218.2 kB / 428.1 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.2499, allocations: 3.953 kB / 428.1 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.2499, allocations: 11.94 kB / 428.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2499, allocations: 7.938 kB / 428.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.2502, allocations: 125.7 kB / 428.3 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.2514, allocations: 0.6657 MB / 428.9 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.2517, allocations: 142.5 kB / 429.1 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.2518, allocations: 59.94 kB / 429.1 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.2518, allocations: 3.984 kB / 429.1 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.2519, allocations: 42.56 kB / 429.2 MB, free: 8.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.412e-06/0.2519, allocations: 0 / 429.2 MB, free: 8.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001744/0.2536, allocations: 0.7398 MB / 429.9 MB, free: 7.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.2537, allocations: 59.41 kB / 430 MB, free: 7.625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.2539, allocations: 171.3 kB / 430.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.2539, allocations: 25.7 kB / 430.2 MB, free: 7.414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.254, allocations: 148.4 kB / 430.3 MB, free: 7.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.609e-05/0.2541, allocations: 87.22 kB / 430.4 MB, free: 7.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-05/0.2542, allocations: 49.7 kB / 430.4 MB, free: 7.125 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2543, allocations: 330.8 kB / 430.8 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.2544, allocations: 55.91 kB / 430.8 MB, free: 6.738 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.2546, allocations: 113.2 kB / 430.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.2549, allocations: 168.2 kB / 431.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2549, allocations: 0 / 431.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005193/0.2554, allocations: 250.1 kB / 431.3 MB, free: 6.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2554, allocations: 4 kB / 431.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2554, allocations: 0 / 431.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.2556, allocations: 36.84 kB / 431.4 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.2558, allocations: 56.03 kB / 431.4 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.2573, allocations: 1.386 MB / 432.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.2574, allocations: 8 kB / 432.8 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.2574, allocations: 7.984 kB / 432.8 MB, free: 4.562 MB / 334.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.0001549/0.2576, allocations: 142 kB / 433 MB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.2576, allocations: 19.86 kB / 433 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.108e-05/0.2577, allocations: 25.97 kB / 433 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2577, allocations: 7.938 kB / 433 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2577, allocations: 4.062 kB / 433 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.2577, allocations: 3.984 kB / 433 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009601/0.2587, allocations: 0.6135 MB / 433.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.2587, allocations: 4 kB / 433.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.2589, allocations: 47.97 kB / 433.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.259, allocations: 28.84 kB / 433.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.259, allocations: 11.98 kB / 433.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.2603, allocations: 1.385 MB / 435.1 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2603, allocations: 0 / 435.1 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006105/0.2609, allocations: 407.3 kB / 435.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.261, allocations: 19.86 kB / 435.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.261, allocations: 4 kB / 435.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.2611, allocations: 4 kB / 435.5 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.2612, allocations: 27.94 kB / 435.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2612, allocations: 4 kB / 435.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.2613, allocations: 127.2 kB / 435.7 MB, free: 1.477 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2613, allocations: 4 kB / 435.7 MB, free: 1.473 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000331/0.2616, allocations: 56 kB / 435.8 MB, free: 1.418 MB / 334.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.0001317/0.2617, allocations: 103.2 kB / 435.9 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005826/0.2623, allocations: 278.4 kB / 436.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2623, allocations: 8.188 kB / 436.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.2627, allocations: 212.6 kB / 436.4 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.2631, allocations: 43.86 kB / 436.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.2643, allocations: 0.6815 MB / 437.1 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.2648, allocations: 0.7443 MB / 437.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.344e-05/0.2648, allocations: 25.86 kB / 437.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.2649, allocations: 19.44 kB / 437.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2649, allocations: 0 / 437.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of Templates: time 0.006947/0.2718, allocations: 2.551 MB / 440.4 MB, free: 12.68 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.532040597870946]