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.00179/0.00179, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.001793/0.001793, allocations: 163 kB / 25.02 MB, free: 8.43 MB / 18.57 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.434/1.434, allocations: 158.6 MB / 186.8 MB, free: 2.887 MB / 170.7 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 2.164e-06/2.164e-06, allocations: 0 / 250.3 MB, free: 3.949 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.59e-05, allocations: 6.25 kB / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004089/0.004125, allocations: 2.228 MB / 252.6 MB, free: 1.695 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.005357, allocations: 0.6006 MB / 253.2 MB, free: 1.086 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.005482, allocations: 7.938 kB / 253.2 MB, free: 1.078 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.005655, allocations: 35.66 kB / 253.2 MB, free: 1.043 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.005835, allocations: 83.27 kB / 253.3 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.006072, allocations: 55.86 kB / 253.4 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.006416, allocations: 262.6 kB / 253.6 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.006595, allocations: 60.52 kB / 253.7 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.006845, allocations: 151.7 kB / 253.8 MB, free: 452 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.007004, allocations: 79.72 kB / 253.9 MB, free: 372 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.415e-05/0.007058, allocations: 20 kB / 253.9 MB, free: 352 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.86e-05/0.007097, allocations: 16 kB / 253.9 MB, free: 336 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.729e-05/0.007154, allocations: 47.83 kB / 254 MB, free: 288 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.00727, allocations: 91.75 kB / 254.1 MB, free: 196 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.007637, allocations: 247.2 kB / 254.3 MB, free: 15.95 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.00764, allocations: 0 / 254.3 MB, free: 15.95 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.007644, allocations: 4 kB / 254.3 MB, free: 15.94 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.007649, allocations: 0 / 254.3 MB, free: 15.94 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.0008071/0.008456, allocations: 437.7 kB / 254.7 MB, free: 15.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.0085, allocations: 15.98 kB / 254.8 MB, free: 15.47 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.472e-05/0.008595, allocations: 40.8 kB / 254.8 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.008963, allocations: 189.9 kB / 255 MB, free: 15.22 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.008987, allocations: 16.88 kB / 255 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.517e-05/0.009043, allocations: 24.38 kB / 255 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.009455, allocations: 211.4 kB / 255.2 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.009472, allocations: 4.188 kB / 255.2 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.009495, allocations: 8.359 kB / 255.2 MB, free: 14.95 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.009507, allocations: 11.92 kB / 255.3 MB, free: 14.94 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.009784, allocations: 129.9 kB / 255.4 MB, free: 14.81 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.01084, allocations: 0.5924 MB / 256 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.01114, allocations: 137.1 kB / 256.1 MB, free: 14.04 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.01128, allocations: 65.17 kB / 256.2 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.0113, allocations: 4 kB / 256.2 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.01134, allocations: 38.52 kB / 256.2 MB, free: 13.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 1.142e-06/0.01134, allocations: 0 / 256.2 MB, free: 13.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.001703/0.01305, allocations: 0.7391 MB / 257 MB, free: 13.13 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.0131, allocations: 55.41 kB / 257 MB, free: 13.06 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.0133, allocations: 162.3 kB / 257.2 MB, free: 12.89 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.01333, allocations: 33.7 kB / 257.2 MB, free: 12.86 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.01346, allocations: 148.3 kB / 257.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.298e-05/0.01355, allocations: 87.25 kB / 257.4 MB, free: 12.62 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.525e-05/0.01363, allocations: 45.7 kB / 257.5 MB, free: 12.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.01384, allocations: 334.8 kB / 257.8 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.01398, allocations: 63.95 kB / 257.9 MB, free: 12.17 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.01415, allocations: 96.27 kB / 258 MB, free: 12.06 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.01446, allocations: 168.1 kB / 258.1 MB, free: 11.88 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01446, allocations: 0 / 258.1 MB, free: 11.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005066/0.01497, allocations: 258.2 kB / 258.4 MB, free: 11.62 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.01499, allocations: 11.94 kB / 258.4 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.015, allocations: 0 / 258.4 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/0.01519, allocations: 36.83 kB / 258.4 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.01541, allocations: 47.92 kB / 258.5 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.01717, allocations: 1.362 MB / 259.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.01729, allocations: 16.02 kB / 259.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.01731, allocations: 4 kB / 259.9 MB, free: 10.03 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 0.0001637/0.01747, allocations: 145.7 kB / 260 MB, free: 9.879 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.666e-05/0.01753, allocations: 23.91 kB / 260 MB, free: 9.855 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.262e-05/0.01758, allocations: 21.97 kB / 260 MB, free: 9.836 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.01759, allocations: 7.984 kB / 260 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.01759, allocations: 0 / 260 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.0176, allocations: 0 / 260 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009879/0.01859, allocations: 0.5584 MB / 260.6 MB, free: 9.219 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01859, allocations: 4 kB / 260.6 MB, free: 9.215 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.01882, allocations: 47.91 kB / 260.7 MB, free: 9.168 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000138/0.01895, allocations: 40.77 kB / 260.7 MB, free: 9.125 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.01897, allocations: 4.062 kB / 260.7 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.02035, allocations: 1.362 MB / 262.1 MB, free: 7.656 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.02035, allocations: 0 / 262.1 MB, free: 7.656 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006815/0.02103, allocations: 418.2 kB / 262.5 MB, free: 7.223 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.02106, allocations: 11.91 kB / 262.5 MB, free: 7.211 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.02108, allocations: 11.94 kB / 262.5 MB, free: 7.199 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.02121, allocations: 16.09 kB / 262.5 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.02127, allocations: 15.97 kB / 262.5 MB, free: 7.168 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.02129, allocations: 8 kB / 262.5 MB, free: 7.16 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.02141, allocations: 124.2 kB / 262.7 MB, free: 7.039 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02141, allocations: 0 / 262.7 MB, free: 7.039 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003437/0.02175, allocations: 60 kB / 262.7 MB, free: 6.98 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 0.0001419/0.02189, allocations: 99.19 kB / 262.8 MB, free: 6.875 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006023/0.02249, allocations: 281.5 kB / 263.1 MB, free: 6.59 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.0225, allocations: 0 / 263.1 MB, free: 6.59 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004246/0.02292, allocations: 218.4 kB / 263.3 MB, free: 6.363 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.02334, allocations: 39.83 kB / 263.3 MB, free: 6.324 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.02454, allocations: 0.5809 MB / 263.9 MB, free: 5.707 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.02469, allocations: 142.1 kB / 264.1 MB, free: 5.551 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.888e-05/0.02477, allocations: 21.94 kB / 264.1 MB, free: 5.527 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.02483, allocations: 24.44 kB / 264.1 MB, free: 5.504 MB / 250.7 MB Notification: Performance of SimCode: time 3.8e-07/0.02483, allocations: 0 / 264.1 MB, free: 5.504 MB / 250.7 MB Notification: Performance of Templates: time 0.007096/0.03192, allocations: 2.467 MB / 266.6 MB, free: 3.062 MB / 250.7 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.324560246895999]