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.0009549/0.0009549, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.005192/0.005192, allocations: 158.7 kB / 24.7 MB, free: 9.441 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.8687/0.8687, allocations: 177 MB / 204.9 MB, free: 5.746 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.353e-06/1.353e-06, allocations: 0 / 325.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.045e-05, allocations: 2.281 kB / 325.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002261/0.002282, allocations: 2.244 MB / 328 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007323/0.003014, allocations: 0.627 MB / 328.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.586e-05/0.00311, allocations: 11.94 kB / 328.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.003222, allocations: 35.66 kB / 328.7 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.003323, allocations: 83.27 kB / 328.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.003526, allocations: 59.84 kB / 328.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.00375, allocations: 274.6 kB / 329.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.003882, allocations: 56.5 kB / 329.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.00406, allocations: 167.5 kB / 329.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.22e-05/0.004152, allocations: 75.78 kB / 329.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.004177, allocations: 20 kB / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.506e-05/0.004222, allocations: 23.98 kB / 329.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.004248, allocations: 51.83 kB / 329.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/0.004302, allocations: 83.77 kB / 329.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.004584, allocations: 251.2 kB / 329.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.004585, allocations: 0 / 329.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.004587, allocations: 0 / 329.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.004591, allocations: 0 / 329.8 MB, free: 11.2 MB / 298.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.0004569/0.005048, allocations: 449.6 kB / 330.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.005079, allocations: 11.98 kB / 330.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.739e-05/0.005177, allocations: 40.78 kB / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.005407, allocations: 178.1 kB / 330.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.005421, allocations: 20.81 kB / 330.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.005453, allocations: 24.34 kB / 330.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.005688, allocations: 203.4 kB / 330.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.005703, allocations: 12.17 kB / 330.7 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.005718, allocations: 4.375 kB / 330.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.537e-06/0.005727, allocations: 11.94 kB / 330.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.005883, allocations: 129.9 kB / 330.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.006469, allocations: 0.5846 MB / 331.5 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.006642, allocations: 146.4 kB / 331.6 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.46e-05/0.006717, allocations: 68.77 kB / 331.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.006732, allocations: 4 kB / 331.7 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.00675, allocations: 34.55 kB / 331.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.006751, allocations: 0 / 331.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009129/0.007664, allocations: 0.7373 MB / 332.4 MB, free: 8.391 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.007693, allocations: 51.41 kB / 332.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.007796, allocations: 170.4 kB / 332.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.007809, allocations: 29.7 kB / 332.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.007872, allocations: 144.4 kB / 332.8 MB, free: 7.973 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.007912, allocations: 91.22 kB / 332.9 MB, free: 7.883 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.007959, allocations: 45.7 kB / 333 MB, free: 7.832 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.008033, allocations: 338.7 kB / 333.3 MB, free: 7.492 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.994e-05/0.008103, allocations: 55.97 kB / 333.3 MB, free: 7.438 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.883e-05/0.008192, allocations: 105.3 kB / 333.4 MB, free: 7.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.008358, allocations: 168 kB / 333.6 MB, free: 7.141 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.008359, allocations: 0 / 333.6 MB, free: 7.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002507/0.00861, allocations: 254.1 kB / 333.9 MB, free: 6.883 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.008623, allocations: 7.938 kB / 333.9 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.008629, allocations: 4 kB / 333.9 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001077/0.008736, allocations: 36.83 kB / 333.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.008855, allocations: 51.91 kB / 334 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007406/0.009595, allocations: 1.347 MB / 335.3 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.742e-05/0.009653, allocations: 12.02 kB / 335.3 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.009662, allocations: 8 kB / 335.3 MB, free: 5.305 MB / 298.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.326e-05/0.009746, allocations: 141.7 kB / 335.5 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.009769, allocations: 27.8 kB / 335.5 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.009793, allocations: 25.95 kB / 335.5 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.009794, allocations: 0 / 335.5 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.009797, allocations: 0 / 335.5 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.009801, allocations: 8.062 kB / 335.5 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.01031, allocations: 0.5582 MB / 336.1 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01031, allocations: 0 / 336.1 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.01042, allocations: 43.92 kB / 336.1 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.686e-05/0.01049, allocations: 36.77 kB / 336.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.0105, allocations: 12 kB / 336.2 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006347/0.01114, allocations: 1.351 MB / 337.5 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01114, allocations: 0 / 337.5 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.01147, allocations: 409 kB / 337.9 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.01149, allocations: 15.86 kB / 337.9 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.0115, allocations: 11.94 kB / 337.9 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.78e-05/0.01156, allocations: 12.09 kB / 338 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.01159, allocations: 15.97 kB / 338 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.0116, allocations: 8 kB / 338 MB, free: 2.457 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.832e-05/0.01166, allocations: 123.2 kB / 338.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01166, allocations: 0 / 338.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001948/0.01185, allocations: 56 kB / 338.2 MB, free: 2.281 MB / 298.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.194e-05/0.01194, allocations: 111.2 kB / 338.3 MB, free: 2.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003296/0.01227, allocations: 274.5 kB / 338.5 MB, free: 1.879 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01227, allocations: 4 kB / 338.5 MB, free: 1.875 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.01242, allocations: 210.5 kB / 338.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.01267, allocations: 39.75 kB / 338.8 MB, free: 1.621 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006968/0.01337, allocations: 0.6076 MB / 339.4 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.577e-05/0.01345, allocations: 146.3 kB / 339.5 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.01349, allocations: 20.5 kB / 339.6 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01349, allocations: 0 / 339.6 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of Templates: time 0.003427/0.01692, allocations: 3.609 MB / 343.2 MB, free: 13.18 MB / 314.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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/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: 4.442899260669947]