Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 88.7 kB / 21.44 MB, free: 276 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 163.7 kB / 24.71 MB, free: 3.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 158.6 MB / 186.5 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.207e-05/3.344e-05, allocations: 6.281 kB / 298.9 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.00376/0.003793, allocations: 2.221 MB / 301.2 MB, free: 6.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.004845, allocations: 0.6008 MB / 301.8 MB, free: 5.871 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.004954, allocations: 4 kB / 301.8 MB, free: 5.867 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.005111, allocations: 43.53 kB / 301.8 MB, free: 5.824 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.00527, allocations: 71.34 kB / 301.9 MB, free: 5.754 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.005474, allocations: 59.86 kB / 301.9 MB, free: 5.695 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.005779, allocations: 262.6 kB / 302.2 MB, free: 5.438 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.00594, allocations: 68.44 kB / 302.3 MB, free: 5.375 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.006178, allocations: 143.7 kB / 302.4 MB, free: 5.234 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.006318, allocations: 83.72 kB / 302.5 MB, free: 5.152 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.006355, allocations: 16 kB / 302.5 MB, free: 5.137 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.983e-05/0.006394, allocations: 27.88 kB / 302.5 MB, free: 5.109 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.006449, allocations: 51.81 kB / 302.6 MB, free: 5.059 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.805e-05/0.006547, allocations: 75.83 kB / 302.6 MB, free: 4.984 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.00685, allocations: 247.1 kB / 302.9 MB, free: 4.742 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.006853, allocations: 4 kB / 302.9 MB, free: 4.738 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006854, allocations: 0 / 302.9 MB, free: 4.738 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.006859, allocations: 0 / 302.9 MB, free: 4.738 MB / 286.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.00072/0.007578, allocations: 449.6 kB / 303.3 MB, free: 4.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.007617, allocations: 11.98 kB / 303.3 MB, free: 4.258 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.007677, allocations: 24.8 kB / 303.4 MB, free: 4.234 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.008014, allocations: 190 kB / 303.6 MB, free: 4.023 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.008034, allocations: 12.88 kB / 303.6 MB, free: 4.012 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.008079, allocations: 24.38 kB / 303.6 MB, free: 3.988 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.008471, allocations: 211.4 kB / 303.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.008489, allocations: 192 / 303.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.008517, allocations: 12.38 kB / 303.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.008528, allocations: 7.938 kB / 303.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.00882, allocations: 125.9 kB / 303.9 MB, free: 3.629 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.009861, allocations: 0.5924 MB / 304.5 MB, free: 3 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.01017, allocations: 146.5 kB / 304.7 MB, free: 2.848 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.01031, allocations: 64.83 kB / 304.7 MB, free: 2.781 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.01034, allocations: 0 / 304.7 MB, free: 2.781 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.01037, allocations: 38.56 kB / 304.8 MB, free: 2.734 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.222e-06/0.01038, allocations: 0 / 304.8 MB, free: 2.734 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001675/0.01205, allocations: 0.7237 MB / 305.5 MB, free: 1.953 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.01211, allocations: 59.41 kB / 305.6 MB, free: 1.883 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.01229, allocations: 170.2 kB / 305.7 MB, free: 1.707 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.01232, allocations: 37.64 kB / 305.8 MB, free: 1.664 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.01244, allocations: 144.4 kB / 305.9 MB, free: 1.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.372e-05/0.01252, allocations: 91.22 kB / 306 MB, free: 1.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.404e-05/0.0126, allocations: 45.7 kB / 306 MB, free: 1.379 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.01282, allocations: 334.8 kB / 306.4 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.01295, allocations: 59.97 kB / 306.4 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.01317, allocations: 92.27 kB / 306.5 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.01348, allocations: 176.2 kB / 306.7 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.01348, allocations: 0 / 306.7 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000478/0.01396, allocations: 250.1 kB / 306.9 MB, free: 448 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.01398, allocations: 10.44 kB / 306.9 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.01399, allocations: 8.125 kB / 306.9 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.01417, allocations: 32.78 kB / 307 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.01438, allocations: 51.97 kB / 307 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.01573, allocations: 1.343 MB / 308.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.01584, allocations: 11.97 kB / 308.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.01586, allocations: 8 kB / 308.4 MB, free: 14.86 MB / 302.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 0.0001522/0.01601, allocations: 145.8 kB / 308.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.01605, allocations: 19.91 kB / 308.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.0161, allocations: 21.97 kB / 308.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.01611, allocations: 4 kB / 308.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01611, allocations: 0 / 308.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.01612, allocations: 3.984 kB / 308.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000919/0.01704, allocations: 0.566 MB / 309.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01704, allocations: 0 / 309.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.01725, allocations: 43.97 kB / 309.2 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/0.01738, allocations: 36.78 kB / 309.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.01739, allocations: 0 / 309.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.01864, allocations: 1.362 MB / 310.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01865, allocations: 4.062 kB / 310.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006817/0.01933, allocations: 398 kB / 311 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.01936, allocations: 19.94 kB / 311 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.01938, allocations: 7.938 kB / 311 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.01951, allocations: 8 kB / 311 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.01957, allocations: 23.91 kB / 311 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.01958, allocations: 7.938 kB / 311 MB, free: 12.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.01969, allocations: 128.2 kB / 311.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01969, allocations: 4 kB / 311.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003343/0.02003, allocations: 60 kB / 311.2 MB, free: 11.83 MB / 302.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.0001326/0.02016, allocations: 99.23 kB / 311.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005712/0.02073, allocations: 282.4 kB / 311.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.02073, allocations: 0 / 311.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.02105, allocations: 214.8 kB / 311.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.02147, allocations: 43.84 kB / 311.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.02258, allocations: 0.5626 MB / 312.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.02272, allocations: 142.5 kB / 312.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.711e-05/0.02279, allocations: 17.94 kB / 312.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.02284, allocations: 20.5 kB / 312.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.02284, allocations: 0 / 312.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of Templates: time 0.006451/0.0293, allocations: 2.444 MB / 315 MB, free: 7.934 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.377283770591021]