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.00162/0.00162, allocations: 75.75 kB / 19.93 MB, free: 1.77 MB / 14.72 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.001886/0.001886, allocations: 176.5 kB / 23.22 MB, free: 4.887 MB / 14.72 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.502/1.502, allocations: 158.6 MB / 185 MB, free: 6.383 MB / 174.1 MB " [Timeout remaining time 178] 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.2256/0.2256, allocations: 32.37 MB / 269.6 MB, free: 4.664 MB / 254.1 MB " [Timeout remaining time 179] 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 2.485e-06/2.485e-06, allocations: 3.938 kB / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.919e-05/5.168e-05, allocations: 2.281 kB / 407.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.002713/0.002765, allocations: 0.4909 MB / 407.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003648/0.006414, allocations: 1.554 MB / 409.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.02e-05/0.006434, allocations: 0 / 409.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.006457, allocations: 0 / 409.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.689e-06/0.006467, allocations: 0 / 409.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.007822, allocations: 299 kB / 409.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.007e-05/0.007892, allocations: 4 kB / 409.7 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.911e-05/0.007951, allocations: 0 / 409.7 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.623e-05/0.007988, allocations: 0 / 409.7 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.691e-05/0.008014, allocations: 4 kB / 409.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.008024, allocations: 0 / 409.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.009048, allocations: 423 kB / 410.1 MB, free: 260 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.009063, allocations: 0 / 410.1 MB, free: 260 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.009098, allocations: 7.984 kB / 410.1 MB, free: 252 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007503/0.009849, allocations: 315.2 kB / 410.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.009854, allocations: 0 / 410.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.009856, allocations: 3.938 kB / 410.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.009866, allocations: 0 / 410.4 MB, free: 15.93 MB / 350.1 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.000557/0.01042, allocations: 295.7 kB / 410.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.01047, allocations: 8.031 kB / 410.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.01052, allocations: 0.9375 kB / 410.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.01063, allocations: 105.8 kB / 410.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.01066, allocations: 8.359 kB / 410.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.01068, allocations: 384 / 410.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.01082, allocations: 59.97 kB / 410.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.01083, allocations: 192 / 410.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.01084, allocations: 384 / 410.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.01085, allocations: 3.938 kB / 410.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.554e-05/0.01091, allocations: 29.64 kB / 410.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.01107, allocations: 97.33 kB / 411 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.626e-05/0.01116, allocations: 48.3 kB / 411.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.01121, allocations: 38.55 kB / 411.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.01122, allocations: 0 / 411.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.683e-05/0.0113, allocations: 56.33 kB / 411.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.0113, allocations: 8 kB / 411.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002976/0.01159, allocations: 118.7 kB / 411.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.002e-05/0.01168, allocations: 88.98 kB / 411.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.199e-05/0.01176, allocations: 89.86 kB / 411.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.01178, allocations: 25.7 kB / 411.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.01184, allocations: 80.14 kB / 411.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.01187, allocations: 3.953 kB / 411.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.01191, allocations: 13.72 kB / 411.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.01211, allocations: 310.8 kB / 411.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.514e-05/0.01215, allocations: 29.7 kB / 411.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.533e-05/0.01218, allocations: 33.81 kB / 411.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.01236, allocations: 64.27 kB / 412 MB, free: 14.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01236, allocations: 0 / 412 MB, free: 14.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000148/0.01251, allocations: 89.05 kB / 412.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/0.01257, allocations: 33.69 kB / 412.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01257, allocations: 0 / 412.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.01259, allocations: 0 / 412.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.0126, allocations: 0 / 412.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.01261, allocations: 7.938 kB / 412.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.01263, allocations: 8.094 kB / 412.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.01264, allocations: 0 / 412.1 MB, free: 13.94 MB / 350.1 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.0002126/0.01286, allocations: 139.5 kB / 412.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.01287, allocations: 0 / 412.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.721e-05/0.01289, allocations: 3 kB / 412.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01289, allocations: 3.938 kB / 412.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.0129, allocations: 3.984 kB / 412.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.0129, allocations: 3.938 kB / 412.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.01302, allocations: 97.33 kB / 412.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01302, allocations: 0 / 412.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.01302, allocations: 0 / 412.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01302, allocations: 4 kB / 412.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.01303, allocations: 0 / 412.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.01303, allocations: 0 / 412.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01303, allocations: 0 / 412.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.0132, allocations: 128.4 kB / 412.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-06/0.01321, allocations: 0 / 412.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.01322, allocations: 0 / 412.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.235e-05/0.01324, allocations: 0 / 412.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.01326, allocations: 3.938 kB / 412.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.01327, allocations: 7.984 kB / 412.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.764e-05/0.01333, allocations: 83.25 kB / 412.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01333, allocations: 0 / 412.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005002/0.01383, allocations: 63.81 kB / 412.7 MB, free: 13.33 MB / 350.1 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.0006484/0.01448, allocations: 194.4 kB / 412.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.01465, allocations: 114.8 kB / 413 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01465, allocations: 0 / 413 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.915e-05/0.01473, allocations: 89.09 kB / 413.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.01492, allocations: 2.344 kB / 413.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.01521, allocations: 106.7 kB / 413.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.831e-05/0.01529, allocations: 55.36 kB / 413.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.412e-06/0.0153, allocations: 4.125 kB / 413.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.736e-05/0.01532, allocations: 8.5 kB / 413.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.01532, allocations: 3.938 kB / 413.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of Templates: time 0.006455/0.02177, allocations: 1.297 MB / 414.5 MB, free: 11.37 MB / 350.1 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: 5.117794945836067]