Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 173.3 MB / 200.8 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 267.3 MB, free: 6.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.911e-05, allocations: 6.25 kB / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004043/0.004072, allocations: 2.352 MB / 269.7 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.005245, allocations: 0.5687 MB / 270.2 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.005391, allocations: 7.938 kB / 270.2 MB, free: 3.809 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.005543, allocations: 31.66 kB / 270.3 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.005737, allocations: 75.28 kB / 270.3 MB, free: 3.703 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.005947, allocations: 63.84 kB / 270.4 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003551/0.006302, allocations: 274.5 kB / 270.7 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.006463, allocations: 60.5 kB / 270.7 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.006746, allocations: 155.6 kB / 270.9 MB, free: 3.156 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.006901, allocations: 71.8 kB / 271 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.427e-05/0.006945, allocations: 16 kB / 271 MB, free: 3.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.586e-05/0.006991, allocations: 20 kB / 271 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.944e-05/0.00705, allocations: 55.75 kB / 271 MB, free: 2.996 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.007163, allocations: 79.83 kB / 271.1 MB, free: 2.918 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.007518, allocations: 251.1 kB / 271.4 MB, free: 2.672 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.007523, allocations: 7.938 kB / 271.4 MB, free: 2.664 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.007523, allocations: 0 / 271.4 MB, free: 2.664 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.00753, allocations: 0 / 271.4 MB, free: 2.664 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.0008356/0.008365, allocations: 0.5388 MB / 271.9 MB, free: 2.09 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.008397, allocations: 8.031 kB / 271.9 MB, free: 2.082 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.618e-05/0.008494, allocations: 48.75 kB / 272 MB, free: 2.035 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.008796, allocations: 184.9 kB / 272.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.008824, allocations: 24.88 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.00887, allocations: 24.33 kB / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.00927, allocations: 221 kB / 272.4 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.009285, allocations: 192 / 272.4 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.009307, allocations: 8.375 kB / 272.4 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.009317, allocations: 7.938 kB / 272.4 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.009597, allocations: 125.9 kB / 272.5 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.01077, allocations: 0.7193 MB / 273.3 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.01105, allocations: 147 kB / 273.4 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.01119, allocations: 67.66 kB / 273.5 MB, free: 428 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.01121, allocations: 4 kB / 273.5 MB, free: 424 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.01124, allocations: 37.39 kB / 273.5 MB, free: 376 kB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 1.273e-06/0.01124, allocations: 0 / 273.5 MB, free: 376 kB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.001649/0.01289, allocations: 0.7542 MB / 274.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.01294, allocations: 55.41 kB / 274.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.01317, allocations: 245.8 kB / 274.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.0132, allocations: 29.7 kB / 274.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.01334, allocations: 195.1 kB / 274.8 MB, free: 15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.01345, allocations: 99.2 kB / 274.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-05/0.01354, allocations: 67.3 kB / 274.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002831/0.01383, allocations: 0.5157 MB / 275.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.01395, allocations: 43.98 kB / 275.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.01413, allocations: 122.4 kB / 275.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.01446, allocations: 190.9 kB / 275.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.01447, allocations: 7.938 kB / 275.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004953/0.01496, allocations: 253 kB / 276.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.01498, allocations: 11.94 kB / 276.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01499, allocations: 0 / 276.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001887/0.01517, allocations: 47.78 kB / 276.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.0154, allocations: 47.91 kB / 276.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.01713, allocations: 1.877 MB / 278.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.01724, allocations: 8 kB / 278.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.01726, allocations: 8 kB / 278.1 MB, free: 11.52 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 0.0001749/0.01743, allocations: 188.5 kB / 278.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.01749, allocations: 27.91 kB / 278.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.6e-05/0.01755, allocations: 21.95 kB / 278.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01756, allocations: 4.141 kB / 278.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.01756, allocations: 4 kB / 278.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01757, allocations: 3.984 kB / 278.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.01859, allocations: 0.6399 MB / 279 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.0186, allocations: 8.062 kB / 279 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.01882, allocations: 47.91 kB / 279 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001368/0.01896, allocations: 39.61 kB / 279 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.01898, allocations: 7.984 kB / 279.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.02067, allocations: 1.885 MB / 280.9 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.02067, allocations: 0 / 280.9 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006843/0.02135, allocations: 463 kB / 281.4 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.02139, allocations: 19.91 kB / 281.4 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.02142, allocations: 11.92 kB / 281.4 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.02154, allocations: 8 kB / 281.4 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.02159, allocations: 15.97 kB / 281.4 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.02161, allocations: 8 kB / 281.5 MB, free: 7.898 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001354/0.02174, allocations: 164.2 kB / 281.6 MB, free: 7.738 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02175, allocations: 4.031 kB / 281.6 MB, free: 7.734 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000325/0.02207, allocations: 60 kB / 281.7 MB, free: 7.676 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 0.0001414/0.02221, allocations: 107.4 kB / 281.8 MB, free: 7.562 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006156/0.02283, allocations: 353.3 kB / 282.1 MB, free: 7.195 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02283, allocations: 4 kB / 282.1 MB, free: 7.191 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004021/0.02323, allocations: 285.6 kB / 282.4 MB, free: 6.891 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.02364, allocations: 46.72 kB / 282.5 MB, free: 6.848 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.02481, allocations: 0.5992 MB / 283.1 MB, free: 6.207 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.02496, allocations: 138.2 kB / 283.2 MB, free: 6.055 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.846e-05/0.02503, allocations: 13.95 kB / 283.2 MB, free: 6.039 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.02509, allocations: 20.5 kB / 283.2 MB, free: 6.02 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02509, allocations: 0 / 283.2 MB, free: 6.02 MB / 266.7 MB Notification: Performance of Templates: time 0.007027/0.03212, allocations: 2.505 MB / 285.7 MB, free: 3.551 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.422367837978527]