Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.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.001128/0.001128, allocations: 91.61 kB / 22.19 MB, free: 2.383 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.001673/0.001673, allocations: 161.7 kB / 25.45 MB, free: 9.348 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 0.9608/0.9608, allocations: 158.6 MB / 187.2 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.First,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.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,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.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.449e-05, allocations: 2.281 kB / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002477/0.002501, allocations: 2.217 MB / 301.9 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009284/0.00343, allocations: 0.6007 MB / 302.5 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.003541, allocations: 7.938 kB / 302.5 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.003675, allocations: 39.64 kB / 302.6 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.003801, allocations: 83.27 kB / 302.6 MB, free: 3.953 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.003993, allocations: 55.86 kB / 302.7 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.004231, allocations: 282.5 kB / 303 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.004406, allocations: 67.3 kB / 303 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.00459, allocations: 167.6 kB / 303.2 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.004703, allocations: 75.78 kB / 303.3 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.004742, allocations: 20 kB / 303.3 MB, free: 3.301 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.247e-05/0.004765, allocations: 20 kB / 303.3 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.237e-05/0.004797, allocations: 55.77 kB / 303.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/0.004857, allocations: 83.83 kB / 303.4 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.005079, allocations: 275 kB / 303.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005081, allocations: 0 / 303.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005082, allocations: 0 / 303.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.005086, allocations: 0 / 303.7 MB, free: 2.875 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004674/0.005554, allocations: 457.6 kB / 304.2 MB, free: 2.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.005588, allocations: 11.98 kB / 304.2 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.005628, allocations: 36.75 kB / 304.2 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.005838, allocations: 186 kB / 304.4 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.005857, allocations: 16.81 kB / 304.4 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.483e-05/0.005892, allocations: 24.38 kB / 304.4 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.006122, allocations: 196.7 kB / 304.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.006137, allocations: 4.141 kB / 304.6 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.006153, allocations: 12.38 kB / 304.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.00616, allocations: 7.938 kB / 304.6 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.006328, allocations: 145.9 kB / 304.8 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/0.006888, allocations: 0.4944 MB / 305.3 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.007091, allocations: 170.1 kB / 305.5 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.829e-05/0.00719, allocations: 89.22 kB / 305.5 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.007206, allocations: 4 kB / 305.5 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.00723, allocations: 50.41 kB / 305.6 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.082e-06/0.007231, allocations: 0 / 305.6 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001178/0.008409, allocations: 0.9034 MB / 306.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.008441, allocations: 55.41 kB / 306.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.008545, allocations: 166.7 kB / 306.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.008559, allocations: 29.7 kB / 306.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.008627, allocations: 152.7 kB / 306.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.00868, allocations: 115 kB / 307 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.008733, allocations: 61.45 kB / 307.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.736e-05/0.008821, allocations: 334.8 kB / 307.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.008907, allocations: 71.97 kB / 307.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.009011, allocations: 106.6 kB / 307.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.009206, allocations: 192.1 kB / 307.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.009207, allocations: 0 / 307.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000288/0.009495, allocations: 294.1 kB / 308 MB, free: 14.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.00951, allocations: 11.94 kB / 308 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.009515, allocations: 0 / 308 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001199/0.009635, allocations: 40.84 kB / 308.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.00978, allocations: 59.91 kB / 308.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.01086, allocations: 1.606 MB / 309.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.606e-05/0.01091, allocations: 8 kB / 309.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.01092, allocations: 8 kB / 309.8 MB, free: 12.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.261e-05/0.01102, allocations: 145.8 kB / 309.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.01104, allocations: 19.91 kB / 309.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.01106, allocations: 22.66 kB / 310 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.01107, allocations: 4 kB / 310 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.01107, allocations: 3.938 kB / 310 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01107, allocations: 8.047 kB / 310 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006322/0.01171, allocations: 0.6799 MB / 310.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.01171, allocations: 7.938 kB / 310.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.01185, allocations: 59.91 kB / 310.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-05/0.01192, allocations: 32.83 kB / 310.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.01193, allocations: 12.09 kB / 310.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006438/0.01258, allocations: 1.354 MB / 312.1 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01258, allocations: 0 / 312.1 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.01297, allocations: 490.9 kB / 312.6 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.01299, allocations: 19.95 kB / 312.6 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.013, allocations: 12.05 kB / 312.6 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.368e-05/0.01307, allocations: 12 kB / 312.6 MB, free: 9.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.01311, allocations: 31.83 kB / 312.7 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.01311, allocations: 8 kB / 312.7 MB, free: 9.371 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.676e-05/0.01317, allocations: 119.2 kB / 312.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01317, allocations: 0 / 312.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.01339, allocations: 68 kB / 312.9 MB, free: 9.188 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.412e-05/0.01347, allocations: 107.2 kB / 313 MB, free: 9.074 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.01385, allocations: 326.7 kB / 313.3 MB, free: 8.742 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01385, allocations: 0 / 313.3 MB, free: 8.742 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.01402, allocations: 230.5 kB / 313.5 MB, free: 8.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.01429, allocations: 39.97 kB / 313.5 MB, free: 8.465 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007425/0.01503, allocations: 0.6595 MB / 314.2 MB, free: 7.766 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.7e-05/0.01512, allocations: 142.5 kB / 314.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.01516, allocations: 24.5 kB / 314.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01516, allocations: 4 kB / 314.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of Templates: time 0.004057/0.01922, allocations: 3.956 MB / 318.3 MB, free: 3.613 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.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.54432453867048]