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.0008428/0.0008428, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001235/0.002077, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001114/0.001114, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001481/0.002595, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.938/0.938, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07685/1.015, allocations: 53.86 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] 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 1.213e-06/1.213e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.444e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002218/0.002232, allocations: 2.425 MB / 247.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006566/0.002889, allocations: 0.654 MB / 248.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.416e-05/0.002973, allocations: 11.94 kB / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.505e-05/0.003048, allocations: 39.59 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.786e-05/0.003146, allocations: 75.33 kB / 248.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.003262, allocations: 71.72 kB / 248.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.003462, allocations: 262.7 kB / 248.7 MB, free: 9.984 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.003575, allocations: 70.5 kB / 248.8 MB, free: 9.918 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.003759, allocations: 171.6 kB / 249 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.003862, allocations: 79.78 kB / 249 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.003887, allocations: 23.94 kB / 249.1 MB, free: 9.648 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.155e-05/0.003948, allocations: 23.94 kB / 249.1 MB, free: 9.625 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.003975, allocations: 35.88 kB / 249.1 MB, free: 9.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.004024, allocations: 67.81 kB / 249.2 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.004197, allocations: 155.4 kB / 249.3 MB, free: 9.371 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.709e-06/0.004207, allocations: 4 kB / 249.4 MB, free: 9.367 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.1e-07/0.004207, allocations: 0 / 249.4 MB, free: 9.367 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.004216, allocations: 0 / 249.4 MB, free: 9.367 MB / 250.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.0005108/0.004726, allocations: 479.9 kB / 249.8 MB, free: 8.875 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.004759, allocations: 11.97 kB / 249.8 MB, free: 8.863 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.004921, allocations: 118 kB / 249.9 MB, free: 8.73 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.005107, allocations: 166.1 kB / 250.1 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.005121, allocations: 16.88 kB / 250.1 MB, free: 8.523 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.005154, allocations: 20.31 kB / 250.1 MB, free: 8.504 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.005373, allocations: 184 kB / 250.3 MB, free: 8.312 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.005386, allocations: 192 / 250.3 MB, free: 8.312 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.005399, allocations: 8.375 kB / 250.3 MB, free: 8.305 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.005411, allocations: 11.94 kB / 250.3 MB, free: 8.293 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.818e-05/0.005489, allocations: 55.39 kB / 250.4 MB, free: 8.234 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005041/0.005993, allocations: 482.4 kB / 250.9 MB, free: 7.746 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.006113, allocations: 110.4 kB / 251 MB, free: 7.629 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.006148, allocations: 32.84 kB / 251 MB, free: 7.594 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.006163, allocations: 8 kB / 251 MB, free: 7.586 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.006188, allocations: 42.5 kB / 251.1 MB, free: 7.535 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 9.51e-07/0.006189, allocations: 0 / 251.1 MB, free: 7.535 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007193/0.006908, allocations: 0.5693 MB / 251.6 MB, free: 6.91 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.006934, allocations: 59.41 kB / 251.7 MB, free: 6.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.007018, allocations: 163.4 kB / 251.8 MB, free: 6.668 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.00703, allocations: 29.7 kB / 251.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.00708, allocations: 140.4 kB / 252 MB, free: 6.492 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.007123, allocations: 91.2 kB / 252.1 MB, free: 6.402 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.007172, allocations: 45.69 kB / 252.1 MB, free: 6.352 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.007248, allocations: 342.6 kB / 252.5 MB, free: 6.008 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.666e-05/0.007275, allocations: 27.97 kB / 252.5 MB, free: 5.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.503e-05/0.00732, allocations: 60.52 kB / 252.6 MB, free: 5.906 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.97e-05/0.007409, allocations: 120.7 kB / 252.7 MB, free: 5.773 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.00741, allocations: 0 / 252.7 MB, free: 5.773 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001456/0.007556, allocations: 150.3 kB / 252.8 MB, free: 5.617 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.007568, allocations: 7.984 kB / 252.8 MB, free: 5.609 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.007573, allocations: 4 kB / 252.8 MB, free: 5.605 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.006e-05/0.007663, allocations: 32.91 kB / 252.9 MB, free: 5.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.007804, allocations: 63.28 kB / 252.9 MB, free: 5.512 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006051/0.008409, allocations: 1.233 MB / 254.2 MB, free: 4.191 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.041e-05/0.008459, allocations: 11.98 kB / 254.2 MB, free: 4.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.008468, allocations: 4 kB / 254.2 MB, free: 4.176 MB / 250.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 6.281e-05/0.00853, allocations: 125.8 kB / 254.3 MB, free: 4.043 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.008555, allocations: 23.92 kB / 254.3 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.008581, allocations: 29.89 kB / 254.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.008582, allocations: 0 / 254.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.008583, allocations: 0 / 254.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.008587, allocations: 4 kB / 254.4 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.008945, allocations: 415.5 kB / 254.8 MB, free: 3.539 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.008947, allocations: 4.062 kB / 254.8 MB, free: 3.535 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.009063, allocations: 51.91 kB / 254.8 MB, free: 3.484 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.009079, allocations: 19.89 kB / 254.8 MB, free: 3.465 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.561e-05/0.009144, allocations: 28.83 kB / 254.9 MB, free: 3.434 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.009153, allocations: 8 kB / 254.9 MB, free: 3.426 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005331/0.009687, allocations: 1.237 MB / 256.1 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.009688, allocations: 0 / 256.1 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.009884, allocations: 279.4 kB / 256.4 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.009898, allocations: 8 kB / 256.4 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.368e-05/0.009952, allocations: 8 kB / 256.4 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.00998, allocations: 19.91 kB / 256.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.009986, allocations: 4 kB / 256.4 MB, free: 1.77 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.076e-05/0.01002, allocations: 44.81 kB / 256.5 MB, free: 1.723 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01002, allocations: 4.031 kB / 256.5 MB, free: 1.719 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000162/0.01018, allocations: 56 kB / 256.5 MB, free: 1.664 MB / 250.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 6.482e-05/0.01024, allocations: 80.41 kB / 256.6 MB, free: 1.578 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.01047, allocations: 243.2 kB / 256.9 MB, free: 1.324 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.01048, allocations: 4 kB / 256.9 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.01061, allocations: 204.4 kB / 257.1 MB, free: 1.105 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.01091, allocations: 410 kB / 257.5 MB, free: 0.625 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.01394, allocations: 0.5098 MB / 258 MB, free: 80 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.492e-05/0.014, allocations: 88.31 kB / 258.1 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.078e-05/0.01405, allocations: 22.03 kB / 258.1 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.613e-05/0.01414, allocations: 95.34 kB / 258.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01414, allocations: 0 / 258.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of Templates: time 0.004087/0.01823, allocations: 2.827 MB / 261 MB, free: 13.09 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.2873258758336306]