Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001727/0.001728, allocations: 120.8 kB / 18.45 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001701/0.001701, allocations: 201 kB / 21.4 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 251.6 MB, free: 15.9 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2337/0.2337, allocations: 46.17 MB / 351.1 MB, free: 14.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 76.75 kB / 490.2 MB, free: 28.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1247, allocations: 62.46 MB / 0.5397 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001629/0.1264, allocations: 489 kB / 0.5401 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.1287, allocations: 1.608 MB / 0.5417 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.389e-05/0.1287, allocations: 0 / 0.5417 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.1287, allocations: 0 / 0.5417 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.885e-06/0.1288, allocations: 3.938 kB / 0.5417 GB, free: 2.152 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008291/0.1296, allocations: 275.2 kB / 0.542 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.351e-05/0.1296, allocations: 8 kB / 0.542 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.1297, allocations: 0 / 0.542 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.395e-05/0.1297, allocations: 0 / 0.542 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.898e-05/0.1297, allocations: 0 / 0.542 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.252e-06/0.1297, allocations: 4 kB / 0.542 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006931/0.1304, allocations: 0.4912 MB / 0.5425 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.777e-06/0.1305, allocations: 7.938 kB / 0.5425 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.1305, allocations: 3.984 kB / 0.5425 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.1309, allocations: 311.2 kB / 0.5428 GB, free: 1.062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1309, allocations: 0 / 0.5428 GB, free: 1.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1309, allocations: 0 / 0.5428 GB, free: 1.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.131, allocations: 0 / 0.5428 GB, free: 1.062 MB / 398.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.0004041/0.1314, allocations: 379.6 kB / 0.5431 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1314, allocations: 8.031 kB / 0.5431 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.1314, allocations: 4.938 kB / 0.5431 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1315, allocations: 168.4 kB / 0.5433 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1316, allocations: 384 / 0.5433 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.1316, allocations: 384 / 0.5433 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.356e-05/0.1317, allocations: 33.83 kB / 0.5433 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1317, allocations: 0 / 0.5433 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.1317, allocations: 0 / 0.5433 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1317, allocations: 0 / 0.5433 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.978e-05/0.1317, allocations: 7.922 kB / 0.5433 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.1319, allocations: 149.7 kB / 0.5435 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.934e-05/0.1319, allocations: 18.58 kB / 0.5435 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.132, allocations: 4.859 kB / 0.5435 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.132, allocations: 96 / 0.5435 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.838e-05/0.132, allocations: 64.2 kB / 0.5436 GB, free: 72 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.132, allocations: 0 / 0.5436 GB, free: 72 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002145/0.1323, allocations: 71.33 kB / 0.5436 GB, free: 15.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.1323, allocations: 77.23 kB / 0.5437 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.79e-05/0.1324, allocations: 93.86 kB / 0.5438 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.1324, allocations: 25.7 kB / 0.5438 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.1325, allocations: 80.14 kB / 0.5439 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.1325, allocations: 3.953 kB / 0.5439 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.1325, allocations: 17.66 kB / 0.5439 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1327, allocations: 318.8 kB / 0.5442 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/0.1327, allocations: 0 / 0.5442 GB, free: 15.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.126e-06/0.1327, allocations: 4 kB / 0.5442 GB, free: 15.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.628e-05/0.1328, allocations: 60.33 kB / 0.5443 GB, free: 15.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1328, allocations: 4 kB / 0.5443 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.25e-05/0.1329, allocations: 63.33 kB / 0.5444 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/0.1329, allocations: 37.64 kB / 0.5444 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1329, allocations: 0 / 0.5444 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1329, allocations: 0 / 0.5444 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.1329, allocations: 0 / 0.5444 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.133, allocations: 0 / 0.5444 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.133, allocations: 0 / 0.5444 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.133, allocations: 11.97 kB / 0.5444 GB, free: 15.12 MB / 414.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.0001109/0.1331, allocations: 135.5 kB / 0.5445 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.1331, allocations: 3.938 kB / 0.5445 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.188e-05/0.1331, allocations: 11.09 kB / 0.5445 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1332, allocations: 4 kB / 0.5445 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1332, allocations: 0 / 0.5445 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1332, allocations: 0 / 0.5445 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.1333, allocations: 141.7 kB / 0.5447 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1333, allocations: 0 / 0.5447 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.1333, allocations: 4 kB / 0.5447 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1333, allocations: 3.938 kB / 0.5447 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1333, allocations: 8 kB / 0.5447 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1333, allocations: 0 / 0.5447 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.1333, allocations: 3.984 kB / 0.5447 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.1334, allocations: 90.78 kB / 0.5448 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.1335, allocations: 84.98 kB / 0.5449 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.1335, allocations: 4.016 kB / 0.5449 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.327e-06/0.1335, allocations: 4 kB / 0.5449 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.1335, allocations: 0 / 0.5449 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1336, allocations: 4 kB / 0.5449 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.339e-05/0.1336, allocations: 79.28 kB / 0.545 GB, free: 14.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1336, allocations: 0 / 0.545 GB, free: 14.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.1339, allocations: 63.8 kB / 0.545 GB, free: 14.38 MB / 414.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.00054/0.1345, allocations: 190.9 kB / 0.5452 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.1346, allocations: 63.34 kB / 0.5453 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1346, allocations: 8.062 kB / 0.5453 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.044e-05/0.1347, allocations: 51.41 kB / 0.5453 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.1348, allocations: 4 kB / 0.5453 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002137/0.135, allocations: 81.05 kB / 0.5454 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.1354, allocations: 0.669 MB / 0.5461 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.234e-06/0.1354, allocations: 0 / 0.5461 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.308e-05/0.1354, allocations: 7.438 kB / 0.5461 GB, free: 13.23 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1354, allocations: 0 / 0.5461 GB, free: 13.23 MB / 414.1 MB Notification: Performance of Templates: time 0.004442/0.1399, allocations: 1.277 MB / 0.5473 GB, free: 11.96 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.86061236448586]