Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.001075/0.001075, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001048/0.001048, allocations: 169.3 kB / 24.24 MB, free: 316 kB / 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.002/1.002, allocations: 158.6 MB / 186 MB, free: 2.918 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.1303/0.1303, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 347.6 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.881e-05, allocations: 8.219 kB / 347.7 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001229/0.001258, allocations: 0.5197 MB / 348.2 MB, free: 9.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.00278, allocations: 1.584 MB / 349.8 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.002805, allocations: 0 / 349.8 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.00282, allocations: 0 / 349.8 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.642e-06/0.002827, allocations: 0 / 349.8 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008257/0.003653, allocations: 287.1 kB / 350 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.385e-05/0.003707, allocations: 11.98 kB / 350 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.00375, allocations: 0 / 350 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.914e-05/0.00378, allocations: 0 / 350 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.652e-05/0.003796, allocations: 0 / 350 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.113e-06/0.003803, allocations: 0 / 350 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004357/0.004239, allocations: 430.9 kB / 350.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.004248, allocations: 0 / 350.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.00427, allocations: 0 / 350.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.004566, allocations: 315.2 kB / 350.8 MB, free: 6.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.004569, allocations: 4 kB / 350.8 MB, free: 6.648 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00457, allocations: 0 / 350.8 MB, free: 6.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.004574, allocations: 0 / 350.8 MB, free: 6.648 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.0002496/0.004824, allocations: 397.7 kB / 351.2 MB, free: 6.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.00486, allocations: 8.031 kB / 351.2 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.004898, allocations: 0.9375 kB / 351.2 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.327e-05/0.004941, allocations: 112.6 kB / 351.3 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.004953, allocations: 384 / 351.3 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.004962, allocations: 384 / 351.3 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.062e-05/0.005043, allocations: 63.95 kB / 351.4 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.00505, allocations: 4.188 kB / 351.4 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.005058, allocations: 384 / 351.4 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.005066, allocations: 7.875 kB / 351.4 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.264e-05/0.005079, allocations: 25.7 kB / 351.4 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.141e-05/0.00515, allocations: 112.6 kB / 351.5 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.637e-05/0.005186, allocations: 52.8 kB / 351.5 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.37e-05/0.0052, allocations: 33.39 kB / 351.6 MB, free: 5.699 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.005211, allocations: 0 / 351.6 MB, free: 5.699 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.005239, allocations: 67.16 kB / 351.6 MB, free: 5.617 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.00524, allocations: 0 / 351.6 MB, free: 5.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000157/0.005397, allocations: 122.7 kB / 351.8 MB, free: 5.473 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.005424, allocations: 81.05 kB / 351.8 MB, free: 5.375 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.365e-05/0.005448, allocations: 142.2 kB / 352 MB, free: 5.223 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.829e-06/0.005453, allocations: 25.7 kB / 352 MB, free: 5.191 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.255e-05/0.005466, allocations: 130.9 kB / 352.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.005483, allocations: 4.344 kB / 352.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.005505, allocations: 15.38 kB / 352.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.517e-05/0.005551, allocations: 492.1 kB / 352.6 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.005565, allocations: 37.62 kB / 352.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-06/0.005574, allocations: 25.83 kB / 352.7 MB, free: 4.465 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/0.005612, allocations: 71.09 kB / 352.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005614, allocations: 0 / 352.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.94e-05/0.005663, allocations: 97.05 kB / 352.9 MB, free: 4.266 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.005686, allocations: 29.7 kB / 352.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.005691, allocations: 0 / 352.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.005707, allocations: 4 kB / 352.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/0.005709, allocations: 0 / 352.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.005715, allocations: 3.938 kB / 352.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.456e-05/0.00573, allocations: 0 / 352.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.005736, allocations: 4.031 kB / 352.9 MB, free: 4.219 MB / 282.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 4.621e-05/0.005782, allocations: 182.3 kB / 353.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-06/0.005787, allocations: 0 / 353.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.003e-05/0.005797, allocations: 6.984 kB / 353.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.005799, allocations: 3.984 kB / 353.1 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.005803, allocations: 4 kB / 353.1 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.005807, allocations: 3.938 kB / 353.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.696e-05/0.005844, allocations: 112.6 kB / 353.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.005845, allocations: 0 / 353.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.005846, allocations: 0 / 353.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.005847, allocations: 7.938 kB / 353.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.005854, allocations: 8 kB / 353.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.92e-07/0.005854, allocations: 0 / 353.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005855, allocations: 0 / 353.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.649e-05/0.005912, allocations: 131.8 kB / 353.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-06/0.005915, allocations: 0 / 353.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.005928, allocations: 4 kB / 353.4 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.001e-06/0.005934, allocations: 3.984 kB / 353.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.005946, allocations: 0 / 353.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.005948, allocations: 0 / 353.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.413e-05/0.005962, allocations: 123.1 kB / 353.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005962, allocations: 4.031 kB / 353.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002249/0.006187, allocations: 63.75 kB / 353.5 MB, free: 3.484 MB / 282.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.0003361/0.006523, allocations: 195.5 kB / 353.7 MB, free: 3.297 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.325e-05/0.006606, allocations: 122.4 kB / 353.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.006609, allocations: 0 / 353.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.689e-05/0.006626, allocations: 92.78 kB / 354 MB, free: 3.035 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/0.006726, allocations: 4 kB / 354 MB, free: 3.031 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001622/0.006889, allocations: 113.7 kB / 354.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.388e-05/0.006912, allocations: 51.36 kB / 354.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.891e-06/0.006918, allocations: 128 / 354.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.31e-05/0.006931, allocations: 12.5 kB / 354.1 MB, free: 2.805 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.006932, allocations: 4 kB / 354.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of Templates: time 0.002963/0.009895, allocations: 1.31 MB / 355.4 MB, free: 1.492 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.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: 3.153400238836184]