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.0009657/0.0009657, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009557/0.0009557, allocations: 163.4 kB / 24.91 MB, free: 8.715 MB / 18.57 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.9599/0.9599, allocations: 177 MB / 205.2 MB, free: 5.008 MB / 186.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.312e-06/1.312e-06, allocations: 0 / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103e-05/1.234e-05, allocations: 5.406 kB / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.00228/0.002292, allocations: 2.413 MB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008273/0.00312, allocations: 0.6541 MB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.723e-05/0.003217, allocations: 4 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.003332, allocations: 39.53 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.003444, allocations: 79.33 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.003615, allocations: 71.83 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.003812, allocations: 262.7 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.003926, allocations: 70.42 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.004109, allocations: 159.6 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.692e-05/0.004206, allocations: 71.73 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.004229, allocations: 20 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.917e-05/0.004288, allocations: 39.97 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.004312, allocations: 35.84 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.004366, allocations: 83.77 kB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.004539, allocations: 175.3 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.00454, allocations: 0 / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004541, allocations: 0 / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.004544, allocations: 0 / 277.6 MB, free: 12.84 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.000408/0.004952, allocations: 424.2 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.004981, allocations: 15.98 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.005096, allocations: 44.91 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.005262, allocations: 170.1 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.005276, allocations: 20.81 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.005302, allocations: 20.38 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.005462, allocations: 172 kB / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.005474, allocations: 4.188 kB / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.005487, allocations: 12.38 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.005495, allocations: 11.94 kB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.6e-05/0.005561, allocations: 55.45 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.006036, allocations: 478.4 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.006145, allocations: 94.45 kB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.00618, allocations: 33.19 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.006192, allocations: 7.938 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.00621, allocations: 38.52 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.142e-06/0.006211, allocations: 0 / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007165/0.006928, allocations: 0.5743 MB / 279.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.006954, allocations: 55.41 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.007042, allocations: 170.5 kB / 279.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.007053, allocations: 33.7 kB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.007104, allocations: 148.3 kB / 280.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.007143, allocations: 95.19 kB / 280.2 MB, free: 10 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.007187, allocations: 45.69 kB / 280.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.449e-05/0.007261, allocations: 342.7 kB / 280.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.659e-05/0.007288, allocations: 19.98 kB / 280.6 MB, free: 9.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.571e-05/0.007334, allocations: 64.25 kB / 280.7 MB, free: 9.512 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.12e-05/0.007425, allocations: 108.1 kB / 280.8 MB, free: 9.391 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.007426, allocations: 0 / 280.8 MB, free: 9.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001585/0.007585, allocations: 154.3 kB / 280.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.007596, allocations: 7.984 kB / 280.9 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.007602, allocations: 4 kB / 280.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.851e-05/0.007691, allocations: 28.77 kB / 281 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.007821, allocations: 59.91 kB / 281 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006475/0.008469, allocations: 1.218 MB / 282.2 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.008525, allocations: 11.98 kB / 282.3 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.008534, allocations: 8 kB / 282.3 MB, free: 7.805 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 6.429e-05/0.008598, allocations: 121.8 kB / 282.4 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.008624, allocations: 19.92 kB / 282.4 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.008647, allocations: 21.97 kB / 282.4 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.00865, allocations: 12.16 kB / 282.4 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.008652, allocations: 0 / 282.4 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.008657, allocations: 7.984 kB / 282.4 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.009039, allocations: 413.2 kB / 282.8 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.009041, allocations: 0 / 282.8 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.009162, allocations: 51.91 kB / 282.9 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.219e-05/0.009224, allocations: 32.89 kB / 282.9 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.009235, allocations: 11.94 kB / 282.9 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000541/0.009776, allocations: 1.217 MB / 284.2 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.009776, allocations: 0 / 284.2 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.009985, allocations: 291.4 kB / 284.4 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.009998, allocations: 15.91 kB / 284.5 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.01001, allocations: 8 kB / 284.5 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.681e-05/0.01007, allocations: 7.984 kB / 284.5 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.0101, allocations: 20.16 kB / 284.5 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.01011, allocations: 4 kB / 284.5 MB, free: 5.406 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.957e-05/0.01014, allocations: 42.39 kB / 284.5 MB, free: 5.363 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01014, allocations: 4 kB / 284.5 MB, free: 5.359 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001704/0.01031, allocations: 56 kB / 284.6 MB, free: 5.305 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 7.064e-05/0.01038, allocations: 92.34 kB / 284.7 MB, free: 5.207 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.0106, allocations: 238.9 kB / 284.9 MB, free: 4.961 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.0106, allocations: 0 / 284.9 MB, free: 4.961 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.01072, allocations: 195.9 kB / 285.1 MB, free: 4.754 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.01092, allocations: 52.16 kB / 285.2 MB, free: 4.707 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006819/0.0116, allocations: 0.5255 MB / 285.7 MB, free: 4.145 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.532e-05/0.01164, allocations: 84.31 kB / 285.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.587e-05/0.01169, allocations: 21.94 kB / 285.8 MB, free: 4.023 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.329e-05/0.01177, allocations: 83.36 kB / 285.9 MB, free: 3.941 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01177, allocations: 0 / 285.9 MB, free: 3.941 MB / 266.7 MB Notification: Performance of Templates: time 0.004047/0.01582, allocations: 2.694 MB / 288.6 MB, free: 1.297 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5870919111184776]