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.002156/0.002156, allocations: 92.97 kB / 20.21 MB, free: 4.215 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.003022/0.003022, allocations: 169.6 kB / 23.53 MB, free: 0.8984 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 1.461/1.461, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 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.2128/0.2128, allocations: 32.37 MB / 270 MB, free: 14.76 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.863e-06/1.863e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.38e-05/3.567e-05, allocations: 6.25 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.00201/0.002046, allocations: 0.5081 MB / 347.4 MB, free: 9.309 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.004351, allocations: 1.56 MB / 349 MB, free: 7.727 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.369e-05/0.004374, allocations: 4 kB / 349 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.004392, allocations: 0 / 349 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.732e-06/0.004398, allocations: 0 / 349 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.005584, allocations: 287.1 kB / 349.3 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.891e-05/0.005633, allocations: 4 kB / 349.3 MB, free: 7.438 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.005673, allocations: 0 / 349.3 MB, free: 7.438 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.005713, allocations: 7.969 kB / 349.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.392e-05/0.005737, allocations: 7.938 kB / 349.3 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.965e-06/0.005745, allocations: 0 / 349.3 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007841/0.006529, allocations: 419 kB / 349.7 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.153e-06/0.006536, allocations: 0 / 349.7 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.006557, allocations: 7.938 kB / 349.7 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005154/0.007072, allocations: 307.2 kB / 350 MB, free: 6.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.007075, allocations: 0 / 350 MB, free: 6.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007076, allocations: 0 / 350 MB, free: 6.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.007081, allocations: 0 / 350 MB, free: 6.703 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.0002992/0.00738, allocations: 405.6 kB / 350.4 MB, free: 6.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.007418, allocations: 8.031 kB / 350.4 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.007461, allocations: 8.922 kB / 350.4 MB, free: 6.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.678e-05/0.007508, allocations: 108.6 kB / 350.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.007519, allocations: 384 / 350.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.007529, allocations: 4.375 kB / 350.5 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.159e-05/0.00761, allocations: 59.97 kB / 350.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.00762, allocations: 192 / 350.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.007628, allocations: 384 / 350.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.007633, allocations: 3.938 kB / 350.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.476e-05/0.007657, allocations: 33.64 kB / 350.6 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.899e-05/0.007746, allocations: 108.6 kB / 350.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.92e-05/0.007806, allocations: 52.8 kB / 350.8 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.007826, allocations: 37.39 kB / 350.8 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.007837, allocations: 0 / 350.8 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.00787, allocations: 67.16 kB / 350.9 MB, free: 5.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.007871, allocations: 0 / 350.9 MB, free: 5.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001943/0.008066, allocations: 118.7 kB / 351 MB, free: 5.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.008091, allocations: 81.05 kB / 351.1 MB, free: 5.422 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.05e-05/0.008122, allocations: 146.2 kB / 351.2 MB, free: 5.266 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.008129, allocations: 25.7 kB / 351.3 MB, free: 5.234 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.649e-05/0.008145, allocations: 130.9 kB / 351.4 MB, free: 5.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.008165, allocations: 0 / 351.4 MB, free: 5.102 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.0082, allocations: 19.5 kB / 351.4 MB, free: 5.074 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.008268, allocations: 0.4884 MB / 351.9 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.008284, allocations: 25.7 kB / 351.9 MB, free: 4.543 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.157e-05/0.008295, allocations: 29.7 kB / 351.9 MB, free: 4.508 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.58e-05/0.008331, allocations: 67.09 kB / 352 MB, free: 4.426 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008333, allocations: 0 / 352 MB, free: 4.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.653e-05/0.00841, allocations: 93.03 kB / 352.1 MB, free: 4.316 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.008433, allocations: 29.7 kB / 352.1 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.008437, allocations: 0 / 352.1 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.008453, allocations: 4.031 kB / 352.1 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.008454, allocations: 4 kB / 352.1 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.00846, allocations: 3.938 kB / 352.1 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.858e-05/0.008478, allocations: 7.953 kB / 352.2 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.008484, allocations: 0 / 352.2 MB, free: 4.262 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 5.464e-05/0.008539, allocations: 182.3 kB / 352.3 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.008552, allocations: 7.984 kB / 352.3 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.889e-06/0.008562, allocations: 3 kB / 352.3 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.008563, allocations: 0 / 352.3 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.008567, allocations: 0 / 352.3 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008571, allocations: 3.938 kB / 352.3 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.322e-05/0.008624, allocations: 120.6 kB / 352.5 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.008635, allocations: 0 / 352.5 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.008635, allocations: 0 / 352.5 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.008637, allocations: 0 / 352.5 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.008644, allocations: 0 / 352.5 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.008645, allocations: 0 / 352.5 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.008646, allocations: 0 / 352.5 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.174e-05/0.008737, allocations: 139.7 kB / 352.6 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-06/0.008742, allocations: 0 / 352.6 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.008757, allocations: 7.984 kB / 352.6 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.332e-05/0.00877, allocations: 8.031 kB / 352.6 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.008788, allocations: 0 / 352.6 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.008791, allocations: 0 / 352.6 MB, free: 3.711 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.665e-05/0.008808, allocations: 123.1 kB / 352.7 MB, free: 3.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008808, allocations: 0 / 352.7 MB, free: 3.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004388/0.009247, allocations: 67.8 kB / 352.8 MB, free: 3.523 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.0005528/0.009799, allocations: 195 kB / 353 MB, free: 3.336 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.009921, allocations: 118.4 kB / 353.1 MB, free: 3.191 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.009922, allocations: 0 / 353.1 MB, free: 3.191 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.009954, allocations: 100.7 kB / 353.2 MB, free: 3.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.01015, allocations: 4.125 kB / 353.2 MB, free: 3.066 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001881/0.01034, allocations: 113.7 kB / 353.3 MB, free: 2.922 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.777e-05/0.01037, allocations: 59.34 kB / 353.4 MB, free: 2.844 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.23e-06/0.01037, allocations: 0 / 353.4 MB, free: 2.844 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.228e-05/0.01038, allocations: 8.5 kB / 353.4 MB, free: 2.836 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01038, allocations: 0 / 353.4 MB, free: 2.836 MB / 282.7 MB Notification: Performance of Templates: time 0.00521/0.01559, allocations: 1.307 MB / 354.7 MB, free: 1.531 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","/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.8210324710235]