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.001604/0.001604, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.001836/0.001836, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 18.57 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 0.939/0.939, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 1.913e-06/1.913e-06, allocations: 0 / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.475e-05, allocations: 2.312 kB / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002639/0.002664, allocations: 2.405 MB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009533/0.003617, allocations: 0.6387 MB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.003734, allocations: 4 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.003874, allocations: 35.59 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.003997, allocations: 79.3 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.004231, allocations: 59.89 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.004462, allocations: 274.6 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.004602, allocations: 56.55 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.004811, allocations: 159.5 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.004928, allocations: 87.7 kB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.004956, allocations: 20 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.161e-05/0.005007, allocations: 20 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.005037, allocations: 47.83 kB / 276.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.478e-05/0.005102, allocations: 75.83 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.005314, allocations: 179.3 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005316, allocations: 0 / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.005317, allocations: 0 / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.005321, allocations: 4 kB / 277.1 MB, free: 13.42 MB / 266.7 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.0005111/0.005832, allocations: 0.5351 MB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.005865, allocations: 8.031 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.006004, allocations: 52.78 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.006202, allocations: 184.9 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.006216, allocations: 20.81 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.006253, allocations: 24.38 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.006477, allocations: 189.7 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.006489, allocations: 4.141 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.006504, allocations: 4.375 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.006515, allocations: 11.94 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.006626, allocations: 82.86 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006356/0.007262, allocations: 0.6802 MB / 278.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.007425, allocations: 111 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.487e-05/0.00749, allocations: 43.66 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.007509, allocations: 4 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.007532, allocations: 41.39 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.002e-06/0.007533, allocations: 0 / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009803/0.008513, allocations: 0.6522 MB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.00854, allocations: 55.41 kB / 279.8 MB, free: 10.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.008677, allocations: 221.9 kB / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.008692, allocations: 33.7 kB / 280 MB, free: 10.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.00877, allocations: 187.1 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.008818, allocations: 91.22 kB / 280.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.008871, allocations: 51.36 kB / 280.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.008994, allocations: 0.5039 MB / 280.8 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.009046, allocations: 27.98 kB / 280.9 MB, free: 9.355 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-05/0.00912, allocations: 86.41 kB / 281 MB, free: 9.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.00926, allocations: 145 kB / 281.1 MB, free: 9.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.009261, allocations: 0 / 281.1 MB, free: 9.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002475/0.009508, allocations: 217.6 kB / 281.3 MB, free: 8.867 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.009524, allocations: 7.938 kB / 281.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.009529, allocations: 4 kB / 281.3 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001414/0.00967, allocations: 35.78 kB / 281.4 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.009801, allocations: 47.92 kB / 281.4 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009973/0.0108, allocations: 1.807 MB / 283.2 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.778e-05/0.01087, allocations: 8 kB / 283.2 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.01088, allocations: 7.984 kB / 283.2 MB, free: 6.82 MB / 266.7 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 8.908e-05/0.01097, allocations: 180.4 kB / 283.4 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.011, allocations: 31.86 kB / 283.4 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.01103, allocations: 21.97 kB / 283.5 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.01103, allocations: 0 / 283.5 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.01103, allocations: 4 kB / 283.5 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01104, allocations: 3.984 kB / 283.5 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.01155, allocations: 0.569 MB / 284 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01155, allocations: 0 / 284 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.01168, allocations: 51.97 kB / 284.1 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.468e-05/0.01176, allocations: 39.59 kB / 284.1 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.01177, allocations: 4 kB / 284.1 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007811/0.01256, allocations: 1.814 MB / 285.9 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01256, allocations: 0 / 285.9 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.01286, allocations: 391.1 kB / 286.3 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.01288, allocations: 15.86 kB / 286.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.01289, allocations: 15.88 kB / 286.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.827e-05/0.01295, allocations: 8 kB / 286.4 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.01299, allocations: 15.95 kB / 286.4 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.013, allocations: 12 kB / 286.4 MB, free: 3.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.707e-05/0.01307, allocations: 160.7 kB / 286.5 MB, free: 3.273 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01307, allocations: 0 / 286.5 MB, free: 3.273 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.01327, allocations: 60 kB / 286.6 MB, free: 3.215 MB / 266.7 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 8.445e-05/0.01336, allocations: 103.2 kB / 286.7 MB, free: 3.105 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003503/0.01371, allocations: 314.2 kB / 287 MB, free: 2.777 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01371, allocations: 0 / 287 MB, free: 2.777 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.01387, allocations: 261.3 kB / 287.3 MB, free: 2.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.01414, allocations: 54.58 kB / 287.3 MB, free: 2.453 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008805/0.01502, allocations: 0.5787 MB / 287.9 MB, free: 1.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.475e-05/0.01507, allocations: 92.25 kB / 288 MB, free: 1.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.213e-05/0.01513, allocations: 21.94 kB / 288 MB, free: 1.707 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.01517, allocations: 24.48 kB / 288 MB, free: 1.684 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01517, allocations: 0 / 288 MB, free: 1.684 MB / 266.7 MB Notification: Performance of Templates: time 0.004272/0.01944, allocations: 2.479 MB / 290.5 MB, free: 15.23 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.863791136071086]