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.001386/0.001386, allocations: 116.3 kB / 19.17 MB, free: 3.852 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.001485/0.001485, allocations: 205 kB / 22.12 MB, free: 0.9062 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.563/1.563, allocations: 230.2 MB / 255.1 MB, free: 15.23 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.00206/0.00206, allocations: 63.89 kB / 374.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1167, allocations: 53.31 MB / 427.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004254/0.121, allocations: 2.385 MB / 430.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1224, allocations: 0.6505 MB / 430.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.1227, allocations: 7.938 kB / 430.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.1229, allocations: 35.66 kB / 430.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.1231, allocations: 75.33 kB / 431 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.1235, allocations: 55.88 kB / 431 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.1239, allocations: 262.8 kB / 431.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.1241, allocations: 56.38 kB / 431.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.1244, allocations: 119.6 kB / 431.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.1246, allocations: 99.55 kB / 431.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.1246, allocations: 24 kB / 431.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.109e-05/0.1247, allocations: 24 kB / 431.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.1247, allocations: 51.77 kB / 431.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.1249, allocations: 111.5 kB / 431.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003991/0.1253, allocations: 262.8 kB / 432 MB, free: 276 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1253, allocations: 0 / 432 MB, free: 276 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1253, allocations: 0 / 432 MB, free: 276 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.1253, allocations: 0 / 432 MB, free: 276 kB / 350.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.2433/0.3686, allocations: 0.5135 MB / 432.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.3686, allocations: 7.375 kB / 432.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.3689, allocations: 37.3 kB / 432.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.3693, allocations: 239 kB / 432.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.3693, allocations: 16.75 kB / 432.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/0.3693, allocations: 23.56 kB / 432.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.3698, allocations: 212.2 kB / 433.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.3698, allocations: 5.844 kB / 433.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.3698, allocations: 12.97 kB / 433.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.3698, allocations: 5.125 kB / 433.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.3701, allocations: 130.9 kB / 433.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009429/0.371, allocations: 0.7085 MB / 433.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.3713, allocations: 137.6 kB / 434 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.3714, allocations: 64.7 kB / 434.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3714, allocations: 2.312 kB / 434.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.3715, allocations: 38.41 kB / 434.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.3715, allocations: 0 / 434.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001366/0.3728, allocations: 0.897 MB / 435 MB, free: 10.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.3729, allocations: 58.62 kB / 435.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.373, allocations: 174.3 kB / 435.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.373, allocations: 30.45 kB / 435.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.3731, allocations: 150.3 kB / 435.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.3731, allocations: 90.86 kB / 435.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.3732, allocations: 50.06 kB / 435.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.3732, allocations: 326.8 kB / 435.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.3734, allocations: 57.41 kB / 436 MB, free: 9.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.3735, allocations: 106.5 kB / 436.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.3737, allocations: 164.8 kB / 436.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3737, allocations: 1.781 kB / 436.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004079/0.3741, allocations: 257 kB / 436.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3741, allocations: 5.469 kB / 436.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3742, allocations: 5.188 kB / 436.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001667/0.3743, allocations: 33.62 kB / 436.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.3745, allocations: 50.03 kB / 436.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000941/0.3755, allocations: 1.482 MB / 438.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.3756, allocations: 11.09 kB / 438.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3756, allocations: 6.188 kB / 438.1 MB, free: 7.887 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 9.32e-05/0.3757, allocations: 137.5 kB / 438.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.3757, allocations: 24.45 kB / 438.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.3758, allocations: 25.03 kB / 438.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3758, allocations: 2.719 kB / 438.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3758, allocations: 12.06 kB / 438.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3758, allocations: 0 / 438.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007553/0.3765, allocations: 0.6481 MB / 438.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3765, allocations: 3.734 kB / 438.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.3767, allocations: 48.2 kB / 439 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-05/0.3768, allocations: 34.53 kB / 439 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.3768, allocations: 6.5 kB / 439 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008183/0.3777, allocations: 1.488 MB / 440.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3777, allocations: 1.062 kB / 440.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004969/0.3782, allocations: 394.4 kB / 440.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.3782, allocations: 100.5 kB / 441 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.3782, allocations: 2.062 kB / 441 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.3784, allocations: 10.19 kB / 441 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.3784, allocations: 18.22 kB / 441 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.3784, allocations: 5.047 kB / 441 MB, free: 5.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.171e-05/0.3785, allocations: 145.7 kB / 441.2 MB, free: 5.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3785, allocations: 0 / 441.2 MB, free: 5.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.3788, allocations: 57.94 kB / 441.2 MB, free: 5.293 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.0001076/0.3789, allocations: 100.8 kB / 441.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005138/0.3794, allocations: 278 kB / 441.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3795, allocations: 5.375 kB / 441.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.3797, allocations: 211.5 kB / 441.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.3801, allocations: 42.91 kB / 441.8 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.3812, allocations: 0.7123 MB / 442.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.3814, allocations: 0.7482 MB / 443.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.3815, allocations: 22.17 kB / 443.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3815, allocations: 0 / 443.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of Templates: time 0.006975/0.3885, allocations: 3.526 MB / 446.8 MB, free: 3.375 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/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_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: 7.660373619059101]