Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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.001142/0.001142, allocations: 85.84 kB / 21.44 MB, free: 3.062 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.00124/0.00124, allocations: 166 kB / 24.84 MB, free: 9.332 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.9718/0.9718, allocations: 158.6 MB / 186.7 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1451/0.1451, allocations: 32.37 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 348.9 MB, free: 9.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.465e-05, allocations: 6.25 kB / 348.9 MB, free: 9.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001284/0.001309, allocations: 0.5181 MB / 349.4 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.003609, allocations: 2.09 MB / 351.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.003634, allocations: 0 / 351.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.003652, allocations: 0 / 351.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.263e-06/0.003659, allocations: 0 / 351.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.00526, allocations: 0.7634 MB / 352.3 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.314e-05/0.005313, allocations: 0 / 352.3 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.005355, allocations: 3.984 kB / 352.3 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.963e-05/0.005384, allocations: 4 kB / 352.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.042e-05/0.005405, allocations: 0 / 352.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.065e-06/0.005413, allocations: 0 / 352.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.007005, allocations: 1.556 MB / 353.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.007015, allocations: 0 / 353.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.007031, allocations: 3.984 kB / 353.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.008561, allocations: 1.867 MB / 355.7 MB, free: 2.379 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.008565, allocations: 0 / 355.7 MB, free: 2.379 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.008566, allocations: 0 / 355.7 MB, free: 2.379 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.008571, allocations: 0 / 355.7 MB, free: 2.379 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004533/0.009024, allocations: 461.3 kB / 356.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.009059, allocations: 8.031 kB / 356.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.009087, allocations: 0.9375 kB / 356.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.146e-05/0.009128, allocations: 120.6 kB / 356.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.009138, allocations: 384 / 356.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-06/0.009144, allocations: 4.312 kB / 356.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.777e-05/0.009202, allocations: 59.95 kB / 356.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.009209, allocations: 3.938 kB / 356.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.009215, allocations: 0 / 356.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.00922, allocations: 0 / 356.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.244e-05/0.009233, allocations: 29.7 kB / 356.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.257e-05/0.009295, allocations: 89.27 kB / 356.5 MB, free: 1.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.843e-05/0.009334, allocations: 56.78 kB / 356.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.298e-05/0.009347, allocations: 45.33 kB / 356.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-06/0.009351, allocations: 0 / 356.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.009377, allocations: 67.16 kB / 356.6 MB, free: 1.297 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.009378, allocations: 0 / 356.6 MB, free: 1.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001409/0.009519, allocations: 114.8 kB / 356.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.009543, allocations: 81.05 kB / 356.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.524e-05/0.009568, allocations: 146.2 kB / 357 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.619e-06/0.009573, allocations: 25.7 kB / 357 MB, free: 0.875 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.036e-05/0.009583, allocations: 126.9 kB / 357.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.0096, allocations: 4.297 kB / 357.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.381e-05/0.009623, allocations: 23.5 kB / 357.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.538e-05/0.009689, allocations: 492.1 kB / 357.6 MB, free: 224 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/0.009711, allocations: 33.64 kB / 357.6 MB, free: 184 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.849e-06/0.009721, allocations: 25.7 kB / 357.7 MB, free: 152 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.005e-05/0.009761, allocations: 71.08 kB / 357.7 MB, free: 64 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.009762, allocations: 0 / 357.7 MB, free: 64 kB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001039/0.009866, allocations: 85.11 kB / 357.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.009903, allocations: 29.7 kB / 357.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.009911, allocations: 3.984 kB / 357.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.009922, allocations: 8.031 kB / 357.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-07/0.009923, allocations: 0 / 357.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.009927, allocations: 3.938 kB / 357.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.846e-05/0.009945, allocations: 4 kB / 357.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.009951, allocations: 3.938 kB / 357.9 MB, free: 15.9 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.01006, allocations: 186.2 kB / 358.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.01007, allocations: 0 / 358.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.212e-05/0.01008, allocations: 3 kB / 358.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.01008, allocations: 0 / 358.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01008, allocations: 3.938 kB / 358.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.01009, allocations: 0 / 358.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.502e-05/0.01016, allocations: 105.2 kB / 358.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01016, allocations: 0 / 358.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.41e-07/0.01016, allocations: 0 / 358.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.01016, allocations: 0 / 358.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.01017, allocations: 4 kB / 358.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.01017, allocations: 0 / 358.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01017, allocations: 4 kB / 358.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.01029, allocations: 131.8 kB / 358.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-06/0.01029, allocations: 0 / 358.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.0103, allocations: 0 / 358.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-06/0.01031, allocations: 7.969 kB / 358.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-06/0.01032, allocations: 4 kB / 358.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.01032, allocations: 0 / 358.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.854e-05/0.01036, allocations: 119.2 kB / 358.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01036, allocations: 0 / 358.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007605/0.01112, allocations: 303.5 kB / 358.7 MB, free: 14.97 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001223/0.01234, allocations: 0.5077 MB / 359.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001237/0.01247, allocations: 122.5 kB / 359.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01247, allocations: 0 / 359.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.662e-05/0.01251, allocations: 92.8 kB / 359.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.01262, allocations: 8.062 kB / 359.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000165/0.01279, allocations: 113.6 kB / 359.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.132e-05/0.01282, allocations: 55.34 kB / 359.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.882e-06/0.01283, allocations: 0 / 359.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.01286, allocations: 74.2 kB / 359.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01286, allocations: 0 / 359.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of Templates: time 0.01603/0.02889, allocations: 9.749 MB / 369.4 MB, free: 4.145 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.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: 4.792352620977908]