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.0007197/0.0007197, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007464/0.0007464, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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.821/0.821, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1251/0.1251, allocations: 32.37 MB / 270.4 MB, free: 14.96 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.963e-06/1.963e-06, allocations: 0 / 408.1 MB, free: 1.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.03e-05, allocations: 2.281 kB / 408.1 MB, free: 1.746 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001164/0.001184, allocations: 498.6 kB / 408.6 MB, free: 1.266 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.00261, allocations: 1.551 MB / 410.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.328e-05/0.002623, allocations: 0 / 410.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.002637, allocations: 0 / 410.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.69e-06/0.002643, allocations: 0 / 410.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006724/0.003315, allocations: 295.1 kB / 410.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 4.205e-05/0.003357, allocations: 4 kB / 410.4 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.422e-05/0.003391, allocations: 3.984 kB / 410.4 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.458e-05/0.003416, allocations: 0 / 410.4 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.817e-05/0.003434, allocations: 4 kB / 410.4 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.052e-06/0.00344, allocations: 0 / 410.4 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004053/0.003846, allocations: 422.9 kB / 410.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-06/0.003852, allocations: 0 / 410.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.002e-05/0.003872, allocations: 4 kB / 410.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.00415, allocations: 315.2 kB / 411.2 MB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004151, allocations: 0 / 411.2 MB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004152, allocations: 0 / 411.2 MB, free: 14.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.004156, allocations: 0 / 411.2 MB, free: 14.67 MB / 394.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.0002558/0.004411, allocations: 303.7 kB / 411.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.763e-05/0.004479, allocations: 12.02 kB / 411.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.004509, allocations: 4.891 kB / 411.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.854e-05/0.004558, allocations: 105.8 kB / 411.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.004567, allocations: 384 / 411.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.004574, allocations: 4.375 kB / 411.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.832e-05/0.004653, allocations: 59.97 kB / 411.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.004659, allocations: 4.125 kB / 411.6 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.004667, allocations: 384 / 411.6 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.004671, allocations: 3.938 kB / 411.6 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.51e-05/0.004696, allocations: 29.7 kB / 411.7 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.184e-05/0.004778, allocations: 97.31 kB / 411.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.002e-05/0.004818, allocations: 48.25 kB / 411.8 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.004842, allocations: 30.56 kB / 411.8 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-06/0.004848, allocations: 0 / 411.8 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.00488, allocations: 68.33 kB / 411.9 MB, free: 13.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 4.1e-07/0.004881, allocations: 0 / 411.9 MB, free: 13.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001481/0.005029, allocations: 114.8 kB / 412 MB, free: 13.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.005067, allocations: 84.98 kB / 412.1 MB, free: 13.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.903e-05/0.005096, allocations: 93.86 kB / 412.2 MB, free: 13.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.005105, allocations: 25.7 kB / 412.2 MB, free: 13.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.671e-05/0.005122, allocations: 84.08 kB / 412.3 MB, free: 13.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.005135, allocations: 0 / 412.3 MB, free: 13.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.005155, allocations: 13.72 kB / 412.3 MB, free: 13.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.005227, allocations: 314.8 kB / 412.6 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.005247, allocations: 33.83 kB / 412.7 MB, free: 12.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.005258, allocations: 29.7 kB / 412.7 MB, free: 12.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.446e-05/0.005292, allocations: 64.27 kB / 412.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005294, allocations: 0 / 412.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.503e-05/0.005339, allocations: 89.09 kB / 412.8 MB, free: 12.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.005361, allocations: 29.7 kB / 412.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.005365, allocations: 3.938 kB / 412.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.005375, allocations: 0 / 412.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.545e-06/0.005378, allocations: 4 kB / 412.9 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.005383, allocations: 3.938 kB / 412.9 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.528e-06/0.005393, allocations: 4.094 kB / 412.9 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.005399, allocations: 0 / 412.9 MB, free: 12.66 MB / 394.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 5.501e-05/0.005454, allocations: 143.5 kB / 413 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-06/0.005456, allocations: 0 / 413 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.716e-06/0.005465, allocations: 3 kB / 413 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.72e-07/0.005466, allocations: 0 / 413 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.00547, allocations: 0 / 413 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.005475, allocations: 3.938 kB / 413 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.6e-05/0.005521, allocations: 97.33 kB / 413.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.005521, allocations: 0 / 413.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-07/0.005522, allocations: 4 kB / 413.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.4e-07/0.005522, allocations: 0 / 413.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.005528, allocations: 3.984 kB / 413.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.005528, allocations: 0 / 413.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.00553, allocations: 11.92 kB / 413.1 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.231e-05/0.005592, allocations: 120.4 kB / 413.3 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-06/0.005596, allocations: 3.984 kB / 413.3 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-06/0.005603, allocations: 0 / 413.3 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.178e-06/0.005608, allocations: 0 / 413.3 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.00562, allocations: 4 kB / 413.3 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-06/0.005621, allocations: 4.031 kB / 413.3 MB, free: 12.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.027e-05/0.005641, allocations: 83.25 kB / 413.4 MB, free: 12.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005641, allocations: 3.938 kB / 413.4 MB, free: 12.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001893/0.00583, allocations: 67.8 kB / 413.4 MB, free: 12.04 MB / 394.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.0003145/0.006145, allocations: 190.5 kB / 413.6 MB, free: 11.85 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.388e-05/0.006239, allocations: 110.8 kB / 413.7 MB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.006241, allocations: 0 / 413.7 MB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.819e-05/0.006269, allocations: 89.09 kB / 413.8 MB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.54e-05/0.006354, allocations: 0 / 413.8 MB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001595/0.006514, allocations: 132.2 kB / 413.9 MB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.317e-05/0.006547, allocations: 59.47 kB / 414 MB, free: 11.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.002e-05/0.006557, allocations: 12.5 kB / 414 MB, free: 11.36 MB / 394.7 MB Notification: Performance of SimCode: time 3.5e-07/0.006557, allocations: 0 / 414 MB, free: 11.36 MB / 394.7 MB Notification: Performance of Templates: time 0.001907/0.008464, allocations: 1.276 MB / 415.3 MB, free: 10.08 MB / 394.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.816592211835086]