Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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.001895/0.001895, allocations: 111.8 kB / 19.13 MB, free: 3.922 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.002347/0.002347, allocations: 212.9 kB / 22.08 MB, free: 0.9727 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.473/1.473, allocations: 227.4 MB / 252.3 MB, free: 100 kB / 190.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.2239/0.2239, allocations: 46.18 MB / 351.8 MB, free: 14.28 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 81.39 kB / 490.9 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1159, allocations: 62.44 MB / 0.5403 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001521/0.1174, allocations: 498.6 kB / 0.5408 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.1205, allocations: 2.136 MB / 0.5429 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.163e-05/0.1205, allocations: 4 kB / 0.5429 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.1206, allocations: 0 / 0.5429 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.071e-06/0.1206, allocations: 0 / 0.5429 GB, free: 1.594 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.1226, allocations: 0.7222 MB / 0.5436 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.62e-05/0.1226, allocations: 3.938 kB / 0.5436 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.1227, allocations: 0 / 0.5436 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.24e-05/0.1227, allocations: 0 / 0.5436 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.344e-05/0.1227, allocations: 4 kB / 0.5436 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.85e-06/0.1227, allocations: 0 / 0.5436 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.1249, allocations: 1.514 MB / 0.5451 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.1249, allocations: 0 / 0.5451 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.1249, allocations: 0 / 0.5451 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.1265, allocations: 1.555 MB / 0.5466 GB, free: 13.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1266, allocations: 0 / 0.5466 GB, free: 13.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1266, allocations: 0 / 0.5466 GB, free: 13.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1266, allocations: 4 kB / 0.5466 GB, free: 13.79 MB / 414.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.0006083/0.1272, allocations: 428.5 kB / 0.547 GB, free: 13.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1272, allocations: 8.031 kB / 0.547 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.1273, allocations: 4.875 kB / 0.547 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1274, allocations: 164.4 kB / 0.5472 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1274, allocations: 384 / 0.5472 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1274, allocations: 8.359 kB / 0.5472 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.781e-05/0.1275, allocations: 34 kB / 0.5472 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1275, allocations: 0 / 0.5472 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1276, allocations: 3.938 kB / 0.5472 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1276, allocations: 4 kB / 0.5472 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.1276, allocations: 4 kB / 0.5472 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.1278, allocations: 145.7 kB / 0.5474 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.297e-05/0.1278, allocations: 22.59 kB / 0.5474 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.744e-05/0.1278, allocations: 8.859 kB / 0.5474 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-06/0.1278, allocations: 0 / 0.5474 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/0.1279, allocations: 64.14 kB / 0.5475 GB, free: 12.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1279, allocations: 4 kB / 0.5475 GB, free: 12.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.000187/0.1281, allocations: 75.34 kB / 0.5475 GB, free: 12.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.1282, allocations: 77.11 kB / 0.5476 GB, free: 12.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.956e-05/0.1282, allocations: 89.86 kB / 0.5477 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1282, allocations: 29.7 kB / 0.5477 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/0.1283, allocations: 80.14 kB / 0.5478 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.1283, allocations: 0 / 0.5478 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.1283, allocations: 9.719 kB / 0.5478 GB, free: 12.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1285, allocations: 319 kB / 0.5481 GB, free: 12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-06/0.1285, allocations: 0 / 0.5481 GB, free: 12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.1285, allocations: 4 kB / 0.5481 GB, free: 12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.717e-05/0.1286, allocations: 68.19 kB / 0.5482 GB, free: 11.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1286, allocations: 0 / 0.5482 GB, free: 11.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.851e-05/0.1286, allocations: 59.41 kB / 0.5482 GB, free: 11.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/0.1287, allocations: 35.98 kB / 0.5483 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1287, allocations: 0 / 0.5483 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1287, allocations: 4.094 kB / 0.5483 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.1287, allocations: 0 / 0.5483 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1287, allocations: 0 / 0.5483 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.668e-05/0.1288, allocations: 4 kB / 0.5483 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1288, allocations: 3.984 kB / 0.5483 GB, free: 11.8 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 8.738e-05/0.1289, allocations: 135.5 kB / 0.5484 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.1289, allocations: 7.938 kB / 0.5484 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.744e-06/0.1289, allocations: 3.125 kB / 0.5484 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.1289, allocations: 0 / 0.5484 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1289, allocations: 8 kB / 0.5484 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1289, allocations: 0 / 0.5484 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.129, allocations: 145.7 kB / 0.5486 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.129, allocations: 7.938 kB / 0.5486 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.129, allocations: 0 / 0.5486 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.129, allocations: 3.938 kB / 0.5486 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.1291, allocations: 0 / 0.5486 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1291, allocations: 3.938 kB / 0.5486 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1291, allocations: 0 / 0.5486 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.1292, allocations: 94.83 kB / 0.5487 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.1292, allocations: 81.05 kB / 0.5488 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1293, allocations: 3.938 kB / 0.5488 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-06/0.1293, allocations: 0 / 0.5488 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.1293, allocations: 4 kB / 0.5488 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1293, allocations: 0 / 0.5488 GB, free: 11.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.157e-05/0.1293, allocations: 75.28 kB / 0.5488 GB, free: 11.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1293, allocations: 0 / 0.5488 GB, free: 11.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008157/0.1301, allocations: 275.6 kB / 0.5491 GB, free: 10.86 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.001346/0.1315, allocations: 417.8 kB / 0.5495 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.1316, allocations: 59.34 kB / 0.5496 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1316, allocations: 0 / 0.5496 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.642e-05/0.1317, allocations: 55.41 kB / 0.5496 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.1318, allocations: 0 / 0.5496 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002002/0.132, allocations: 110.8 kB / 0.5497 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1323, allocations: 0.673 MB / 0.5504 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.492e-05/0.1323, allocations: 11.44 kB / 0.5504 GB, free: 9.461 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1323, allocations: 0 / 0.5504 GB, free: 9.461 MB / 414.1 MB Notification: Performance of Templates: time 0.01128/0.1436, allocations: 6.634 MB / 0.5569 GB, free: 2.816 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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: 11.538777953013778]