Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.001339/0.001339, allocations: 114 kB / 19.12 MB, free: 4.027 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.001421/0.001421, allocations: 208.9 kB / 22.07 MB, free: 1.078 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.462/1.462, allocations: 227.4 MB / 252.3 MB, free: 120 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.2238/0.2238, allocations: 46.16 MB / 351.8 MB, free: 14.32 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.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 84.97 kB / 490.8 MB, free: 28.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1238, allocations: 62.44 MB / 0.5403 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001489/0.1254, allocations: 497 kB / 0.5408 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003091/0.1285, allocations: 2.045 MB / 0.5428 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-06/0.1285, allocations: 0 / 0.5428 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.388e-06/0.1285, allocations: 0 / 0.5428 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.342e-06/0.1285, allocations: 0 / 0.5428 GB, free: 1.746 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/package.mo:697:5-760:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.1302, allocations: 0.5115 MB / 0.5433 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.461e-05/0.1302, allocations: 0 / 0.5433 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.861e-05/0.1302, allocations: 0 / 0.5433 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.196e-06/0.1302, allocations: 0 / 0.5433 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.348e-06/0.1303, allocations: 0 / 0.5433 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.428e-06/0.1303, allocations: 8 kB / 0.5433 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.1316, allocations: 0.9097 MB / 0.5442 GB, free: 328 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.813e-06/0.1316, allocations: 0 / 0.5442 GB, free: 328 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.559e-05/0.1317, allocations: 4 kB / 0.5442 GB, free: 324 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00099/0.1327, allocations: 0.8028 MB / 0.545 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1327, allocations: 0 / 0.545 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1327, allocations: 0 / 0.545 GB, free: 15.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1327, allocations: 0 / 0.545 GB, free: 15.51 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004178/0.1331, allocations: 382.8 kB / 0.5453 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1332, allocations: 12.03 kB / 0.5453 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.297e-05/0.1332, allocations: 76.22 kB / 0.5454 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1334, allocations: 235.7 kB / 0.5456 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.536e-05/0.1335, allocations: 158.9 kB / 0.5458 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.178e-05/0.1335, allocations: 150.9 kB / 0.5459 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.72e-05/0.1336, allocations: 105.3 kB / 0.546 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/0.1337, allocations: 83.22 kB / 0.5461 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-05/0.1337, allocations: 154.6 kB / 0.5463 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.657e-05/0.1338, allocations: 150.6 kB / 0.5464 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.236e-05/0.1339, allocations: 150.6 kB / 0.5466 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.1342, allocations: 442 kB / 0.547 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.803e-05/0.1343, allocations: 169.1 kB / 0.5471 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.54e-05/0.1344, allocations: 92.08 kB / 0.5472 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.1344, allocations: 75.28 kB / 0.5473 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.627e-05/0.1345, allocations: 113.8 kB / 0.5474 GB, free: 12.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1345, allocations: 3.938 kB / 0.5474 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.404e-05/0.1346, allocations: 33.64 kB / 0.5474 GB, free: 12.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.051e-05/0.1347, allocations: 156.4 kB / 0.5476 GB, free: 12.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.759e-05/0.1347, allocations: 89.86 kB / 0.5477 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.1347, allocations: 29.7 kB / 0.5477 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.1348, allocations: 80.14 kB / 0.5478 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.1348, allocations: 0 / 0.5478 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.1348, allocations: 9.719 kB / 0.5478 GB, free: 12.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.135, allocations: 314.8 kB / 0.5481 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-06/0.135, allocations: 0 / 0.5481 GB, free: 12.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.135, allocations: 11.94 kB / 0.5481 GB, free: 12.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.144e-05/0.135, allocations: 75.28 kB / 0.5482 GB, free: 12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.8e-05/0.1351, allocations: 75.28 kB / 0.5482 GB, free: 11.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.446e-05/0.1351, allocations: 33.72 kB / 0.5483 GB, free: 11.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/0.1352, allocations: 91.22 kB / 0.5484 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.248e-05/0.1352, allocations: 75.28 kB / 0.5484 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.532e-05/0.1353, allocations: 162.5 kB / 0.5486 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.992e-05/0.1353, allocations: 75.28 kB / 0.5487 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.899e-05/0.1354, allocations: 158.5 kB / 0.5488 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.798e-05/0.1355, allocations: 75.28 kB / 0.5489 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.1355, allocations: 75.28 kB / 0.549 GB, free: 11.18 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001412/0.1357, allocations: 276.3 kB / 0.5492 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.929e-05/0.1358, allocations: 108.9 kB / 0.5493 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.275e-05/0.1358, allocations: 107.9 kB / 0.5494 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.788e-05/0.1359, allocations: 180.2 kB / 0.5496 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.69e-05/0.136, allocations: 180.3 kB / 0.5498 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.349e-05/0.1361, allocations: 184.2 kB / 0.5499 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.1364, allocations: 401.2 kB / 0.5503 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.155e-05/0.1364, allocations: 101 kB / 0.5504 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.1365, allocations: 108.9 kB / 0.5505 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-05/0.1365, allocations: 184.2 kB / 0.5507 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.391e-05/0.1366, allocations: 180.2 kB / 0.5509 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.536e-05/0.1367, allocations: 180.3 kB / 0.551 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.602e-05/0.1368, allocations: 184.3 kB / 0.5512 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.1369, allocations: 307.8 kB / 0.5515 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.441e-05/0.1371, allocations: 182 kB / 0.5517 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.34e-05/0.1371, allocations: 184.1 kB / 0.5519 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.1372, allocations: 109 kB / 0.552 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/0.1373, allocations: 188.2 kB / 0.5521 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.1374, allocations: 101 kB / 0.5522 GB, free: 7.586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.518e-05/0.1374, allocations: 75.28 kB / 0.5523 GB, free: 7.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1374, allocations: 0 / 0.5523 GB, free: 7.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006147/0.138, allocations: 151.6 kB / 0.5525 GB, free: 7.363 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0007433/0.1388, allocations: 341.4 kB / 0.5528 GB, free: 7.023 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.595e-05/0.1389, allocations: 3.938 kB / 0.5528 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/0.1389, allocations: 4 kB / 0.5528 GB, free: 7.016 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.596e-06/0.1389, allocations: 4 kB / 0.5528 GB, free: 7.012 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1392, allocations: 451.7 kB / 0.5532 GB, free: 6.566 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001696/0.1394, allocations: 186.1 kB / 0.5534 GB, free: 6.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1397, allocations: 0.669 MB / 0.5541 GB, free: 5.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.316e-05/0.1397, allocations: 7.438 kB / 0.5541 GB, free: 5.648 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1397, allocations: 4 kB / 0.5541 GB, free: 5.645 MB / 414.1 MB Notification: Performance of Templates: time 0.005535/0.1453, allocations: 2.946 MB / 0.5569 GB, free: 2.699 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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: 9.25327304599341]