Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.0009996/0.0009996, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001619/0.001619, allocations: 170 kB / 24.82 MB, free: 9.254 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 1.029/1.029, allocations: 177 MB / 205.1 MB, free: 5.48 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.First,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.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_trunk_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083e-05/1.206e-05, allocations: 2.312 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002336/0.002348, allocations: 2.375 MB / 275.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.003458, allocations: 0.6309 MB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.504e-05/0.003553, allocations: 4 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.003669, allocations: 35.59 kB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.003784, allocations: 91.2 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.003962, allocations: 67.84 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.004166, allocations: 286.5 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.004304, allocations: 75.27 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.004483, allocations: 167.5 kB / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.796e-05/0.004581, allocations: 83.72 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.004607, allocations: 20 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.094e-05/0.004657, allocations: 31.97 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.864e-05/0.004686, allocations: 55.83 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.287e-05/0.004739, allocations: 83.77 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.004912, allocations: 175.3 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.004913, allocations: 0 / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004914, allocations: 0 / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.004917, allocations: 0 / 277.5 MB, free: 13.05 MB / 266.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.0004085/0.005326, allocations: 0.5584 MB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.629e-05/0.005352, allocations: 11.98 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.603e-05/0.005448, allocations: 60.73 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.005592, allocations: 188.9 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.005602, allocations: 12.88 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.005629, allocations: 28.33 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.005769, allocations: 145.4 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.005779, allocations: 192 / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.005792, allocations: 12.38 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.005799, allocations: 11.92 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/0.005871, allocations: 63.38 kB / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.006318, allocations: 0.5176 MB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.006448, allocations: 125.9 kB / 279.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.006507, allocations: 66.5 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.00652, allocations: 8 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.006536, allocations: 33.39 kB / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 9.12e-07/0.006537, allocations: 0 / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007748/0.007312, allocations: 0.7211 MB / 280 MB, free: 10.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.007334, allocations: 55.41 kB / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.007425, allocations: 218.6 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.007439, allocations: 29.7 kB / 280.3 MB, free: 9.988 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.007505, allocations: 191.5 kB / 280.5 MB, free: 9.797 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/0.007556, allocations: 114.9 kB / 280.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.00761, allocations: 67.27 kB / 280.7 MB, free: 9.609 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.007717, allocations: 0.5039 MB / 281.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.39e-05/0.007751, allocations: 31.97 kB / 281.2 MB, free: 9.062 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.759e-05/0.007809, allocations: 75.03 kB / 281.3 MB, free: 8.977 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.007911, allocations: 124.6 kB / 281.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.007912, allocations: 0 / 281.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001914/0.008104, allocations: 222 kB / 281.6 MB, free: 8.617 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.008114, allocations: 8 kB / 281.6 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.008118, allocations: 3.938 kB / 281.6 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.583e-05/0.008214, allocations: 43.72 kB / 281.7 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.008335, allocations: 59.91 kB / 281.7 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.0094, allocations: 2.076 MB / 283.8 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.923e-05/0.00945, allocations: 8 kB / 283.8 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.00946, allocations: 19.97 kB / 283.8 MB, free: 6.289 MB / 266.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 7.586e-05/0.009535, allocations: 168.5 kB / 284 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.009568, allocations: 31.86 kB / 284 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.009592, allocations: 30.64 kB / 284.1 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.009594, allocations: 4 kB / 284.1 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.009598, allocations: 4 kB / 284.1 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.0096, allocations: 0 / 284.1 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.01008, allocations: 0.6363 MB / 284.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01008, allocations: 0 / 284.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.01021, allocations: 55.91 kB / 284.8 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.673e-05/0.01027, allocations: 31.66 kB / 284.8 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.01028, allocations: 11.98 kB / 284.8 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006102/0.01089, allocations: 1.784 MB / 286.6 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.0109, allocations: 3.984 kB / 286.6 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.01117, allocations: 426.9 kB / 287 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.01118, allocations: 19.89 kB / 287 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.0112, allocations: 8 kB / 287 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.865e-05/0.01126, allocations: 4 kB / 287.1 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.01129, allocations: 31.89 kB / 287.1 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.0113, allocations: 8.031 kB / 287.1 MB, free: 2.824 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.762e-05/0.01135, allocations: 155.1 kB / 287.2 MB, free: 2.672 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01135, allocations: 0 / 287.2 MB, free: 2.672 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002079/0.01155, allocations: 67.94 kB / 287.3 MB, free: 2.605 MB / 266.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 6.627e-05/0.01162, allocations: 99.23 kB / 287.4 MB, free: 2.496 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.01188, allocations: 342.3 kB / 287.7 MB, free: 2.141 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01188, allocations: 4.125 kB / 287.7 MB, free: 2.137 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.01202, allocations: 270.3 kB / 288 MB, free: 1.852 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.01226, allocations: 51.2 kB / 288.1 MB, free: 1.805 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007495/0.01301, allocations: 0.6384 MB / 288.7 MB, free: 1.121 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.018e-05/0.01306, allocations: 88.92 kB / 288.8 MB, free: 1.016 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.774e-05/0.01311, allocations: 22.28 kB / 288.8 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/0.0132, allocations: 110.2 kB / 288.9 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0132, allocations: 0 / 288.9 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of Templates: time 0.004304/0.0175, allocations: 2.916 MB / 291.8 MB, free: 14.01 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6074248789809644]