Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.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.001831/0.001831, allocations: 100 kB / 21.18 MB, free: 0.5195 MB / 14.72 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.002358/0.002358, allocations: 181 kB / 24.45 MB, free: 3.863 MB / 14.72 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.496/1.496, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.1 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.First,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.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_4.0.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 47.92 kB / 371.6 MB, free: 9.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3182, allocations: 52.18 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004639/0.3229, allocations: 2.239 MB / 426.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.324, allocations: 0.561 MB / 426.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.3241, allocations: 7.938 kB / 426.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.3242, allocations: 35.66 kB / 426.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.3244, allocations: 79.27 kB / 426.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.3246, allocations: 55.94 kB / 426.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.325, allocations: 270.7 kB / 427.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.3252, allocations: 71.23 kB / 427.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.3254, allocations: 115.6 kB / 427.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.3255, allocations: 99.48 kB / 427.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.3256, allocations: 20 kB / 427.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.438e-05/0.3256, allocations: 20 kB / 427.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.217e-05/0.3257, allocations: 51.77 kB / 427.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.3258, allocations: 103.5 kB / 427.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.3261, allocations: 260.6 kB / 427.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3261, allocations: 0 / 427.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3261, allocations: 4 kB / 427.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.3262, allocations: 0 / 427.8 MB, free: 10.51 MB / 334.1 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.0008043/0.327, allocations: 469.5 kB / 428.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.327, allocations: 8.031 kB / 428.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.188e-05/0.3271, allocations: 32.75 kB / 428.3 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.3274, allocations: 174.9 kB / 428.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.3275, allocations: 20.81 kB / 428.5 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/0.3275, allocations: 28.33 kB / 428.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.328, allocations: 191.6 kB / 428.7 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.328, allocations: 0 / 428.7 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.328, allocations: 12 kB / 428.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.328, allocations: 4 kB / 428.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.3283, allocations: 145.6 kB / 428.8 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009965/0.3293, allocations: 0.4979 MB / 429.3 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.3297, allocations: 166.5 kB / 429.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.3299, allocations: 84.92 kB / 429.6 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.3299, allocations: 7.938 kB / 429.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.3299, allocations: 38.56 kB / 429.6 MB, free: 8.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.343e-06/0.3299, allocations: 0 / 429.6 MB, free: 8.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002021/0.3319, allocations: 0.9187 MB / 430.5 MB, free: 7.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.332, allocations: 59.34 kB / 430.6 MB, free: 7.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.3322, allocations: 167.5 kB / 430.8 MB, free: 7.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.3322, allocations: 37.64 kB / 430.8 MB, free: 7.289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3323, allocations: 140.8 kB / 430.9 MB, free: 7.148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.3324, allocations: 119 kB / 431.1 MB, free: 7.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.507e-05/0.3325, allocations: 53.7 kB / 431.1 MB, free: 6.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3327, allocations: 330.8 kB / 431.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.3329, allocations: 75.7 kB / 431.5 MB, free: 6.566 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.333, allocations: 107.4 kB / 431.6 MB, free: 6.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.3334, allocations: 200.1 kB / 431.8 MB, free: 6.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.3334, allocations: 0 / 431.8 MB, free: 6.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005224/0.3339, allocations: 290.9 kB / 432.1 MB, free: 5.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3339, allocations: 4 kB / 432.1 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3339, allocations: 4.062 kB / 432.1 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000196/0.3341, allocations: 48.77 kB / 432.2 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.3344, allocations: 55.97 kB / 432.2 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.3361, allocations: 1.603 MB / 433.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.3362, allocations: 15.92 kB / 433.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.3362, allocations: 4 kB / 433.8 MB, free: 4.121 MB / 334.1 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 0.0001583/0.3364, allocations: 145.9 kB / 434 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.3364, allocations: 23.86 kB / 434 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.077e-05/0.3365, allocations: 30.77 kB / 434 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3365, allocations: 7.984 kB / 434 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.3365, allocations: 8 kB / 434 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3365, allocations: 3.938 kB / 434 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.3376, allocations: 0.668 MB / 434.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3376, allocations: 4 kB / 434.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.3379, allocations: 51.97 kB / 434.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001295/0.338, allocations: 40.72 kB / 434.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.338, allocations: 11.98 kB / 434.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.3393, allocations: 1.355 MB / 436.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3393, allocations: 0 / 436.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000753/0.3401, allocations: 483.3 kB / 436.6 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.3401, allocations: 23.86 kB / 436.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.3402, allocations: 4 kB / 436.7 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.3403, allocations: 15.97 kB / 436.7 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.3403, allocations: 19.97 kB / 436.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.3404, allocations: 24.22 kB / 436.7 MB, free: 1.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.3405, allocations: 123.2 kB / 436.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3405, allocations: 0 / 436.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003744/0.3409, allocations: 64 kB / 436.9 MB, free: 0.8281 MB / 334.1 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 0.0001395/0.341, allocations: 103.2 kB / 437 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006429/0.3416, allocations: 330.6 kB / 437.3 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3416, allocations: 4.125 kB / 437.3 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.342, allocations: 234.5 kB / 437.6 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.3424, allocations: 55.41 kB / 437.6 MB, free: 88 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.3439, allocations: 0.7601 MB / 438.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/0.344, allocations: 146.6 kB / 438.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.3441, allocations: 23.44 kB / 438.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3441, allocations: 0 / 438.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of Templates: time 0.00678/0.3509, allocations: 3.922 MB / 442.5 MB, free: 11.18 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.847050320357084]