Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.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.001846/0.001846, allocations: 112 kB / 20.43 MB, free: 1.457 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.002176/0.002176, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.455/1.455, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.First,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.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,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.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 43.92 kB / 370.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2347, allocations: 52.18 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003808/0.2385, allocations: 2.386 MB / 425.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2395, allocations: 0.5844 MB / 426.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.2396, allocations: 4 kB / 426.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.2398, allocations: 35.59 kB / 426.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.24, allocations: 83.33 kB / 426.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.2402, allocations: 55.86 kB / 426.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.2405, allocations: 270.7 kB / 426.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.2408, allocations: 75.25 kB / 426.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.2409, allocations: 115.6 kB / 426.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.2411, allocations: 111.5 kB / 426.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.075e-05/0.2412, allocations: 20 kB / 426.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.598e-05/0.2412, allocations: 20 kB / 426.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.2413, allocations: 51.83 kB / 426.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.2414, allocations: 123.3 kB / 427 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.2417, allocations: 272.1 kB / 427.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2417, allocations: 0 / 427.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2417, allocations: 0 / 427.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.2417, allocations: 0 / 427.3 MB, free: 10.48 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007989/0.2425, allocations: 469.5 kB / 427.7 MB, free: 9.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2426, allocations: 8.031 kB / 427.8 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.2426, allocations: 32.69 kB / 427.8 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.243, allocations: 178.9 kB / 428 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.243, allocations: 12.81 kB / 428 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.338e-05/0.243, allocations: 28.33 kB / 428 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004088/0.2435, allocations: 199.6 kB / 428.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.2435, allocations: 0 / 428.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.2435, allocations: 8 kB / 428.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.2435, allocations: 11.98 kB / 428.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.2438, allocations: 133.7 kB / 428.3 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.2448, allocations: 0.5948 MB / 428.9 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.2452, allocations: 165.8 kB / 429.1 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.2453, allocations: 92.81 kB / 429.2 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.2454, allocations: 0 / 429.2 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.2454, allocations: 42.59 kB / 429.2 MB, free: 8.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.172e-06/0.2454, allocations: 0 / 429.2 MB, free: 8.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001972/0.2474, allocations: 0.9172 MB / 430.2 MB, free: 7.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.2474, allocations: 59.34 kB / 430.2 MB, free: 7.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.2476, allocations: 191.2 kB / 430.4 MB, free: 7.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.2476, allocations: 29.7 kB / 430.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.2477, allocations: 140.8 kB / 430.6 MB, free: 7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.2478, allocations: 123 kB / 430.7 MB, free: 6.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.572e-05/0.2479, allocations: 53.7 kB / 430.7 MB, free: 6.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2481, allocations: 326.8 kB / 431.1 MB, free: 6.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.2483, allocations: 71.95 kB / 431.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.2485, allocations: 111.2 kB / 431.2 MB, free: 6.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.2488, allocations: 193.3 kB / 431.4 MB, free: 6.109 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2488, allocations: 0 / 431.4 MB, free: 6.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00057/0.2494, allocations: 298.3 kB / 431.7 MB, free: 5.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.2494, allocations: 4 kB / 431.7 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2494, allocations: 0 / 431.7 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.2496, allocations: 52.83 kB / 431.8 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.2499, allocations: 55.91 kB / 431.8 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/0.2516, allocations: 1.645 MB / 433.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.2518, allocations: 8.031 kB / 433.5 MB, free: 3.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.2518, allocations: 16.06 kB / 433.5 MB, free: 3.918 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.2519, allocations: 141.8 kB / 433.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.252, allocations: 23.8 kB / 433.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.646e-05/0.2521, allocations: 26.66 kB / 433.7 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2521, allocations: 4 kB / 433.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2521, allocations: 0 / 433.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.2521, allocations: 7.984 kB / 433.7 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.2533, allocations: 0.7456 MB / 434.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.2533, allocations: 4 kB / 434.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.2536, allocations: 55.91 kB / 434.5 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001342/0.2537, allocations: 44.92 kB / 434.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.2537, allocations: 4 kB / 434.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.255, allocations: 1.385 MB / 435.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2551, allocations: 0 / 435.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.2558, allocations: 490.7 kB / 436.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.2559, allocations: 27.89 kB / 436.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.2559, allocations: 8 kB / 436.4 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.256, allocations: 8 kB / 436.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.2561, allocations: 23.95 kB / 436.5 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.2561, allocations: 12 kB / 436.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.2562, allocations: 131.5 kB / 436.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2562, allocations: 4 kB / 436.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003766/0.2566, allocations: 64 kB / 436.7 MB, free: 0.4961 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0001225/0.2567, allocations: 105.1 kB / 436.8 MB, free: 396 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006353/0.2574, allocations: 319.4 kB / 437.1 MB, free: 64 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2574, allocations: 0 / 437.1 MB, free: 64 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004006/0.2578, allocations: 242.6 kB / 437.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.2582, allocations: 43.86 kB / 437.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.2596, allocations: 0.7337 MB / 438.1 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.26, allocations: 0.7602 MB / 438.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.104e-05/0.2601, allocations: 26.27 kB / 438.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.2602, allocations: 19.44 kB / 438.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.2602, allocations: 0 / 438.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of Templates: time 0.007292/0.2675, allocations: 2.893 MB / 441.8 MB, free: 11.29 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.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.494086688384414]