Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.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.001618/0.001618, allocations: 116.9 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.001697/0.001697, allocations: 214.5 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.454/1.454, allocations: 227.4 MB / 252.3 MB, free: 80 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.2244/0.2244, allocations: 46.16 MB / 351.8 MB, free: 14.29 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 81.38 kB / 490.8 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1157, allocations: 62.45 MB / 0.5403 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001634/0.1174, allocations: 0.4892 MB / 0.5408 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.1196, allocations: 1.554 MB / 0.5423 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.986e-05/0.1196, allocations: 0 / 0.5423 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.272e-05/0.1196, allocations: 4 kB / 0.5423 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.112e-06/0.1196, allocations: 0 / 0.5423 GB, free: 2.199 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008582/0.1205, allocations: 234.2 kB / 0.5425 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.336e-05/0.1206, allocations: 4 kB / 0.5425 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.1206, allocations: 0 / 0.5425 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.596e-05/0.1206, allocations: 3.984 kB / 0.5425 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.4e-05/0.1206, allocations: 0 / 0.5425 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-06/0.1207, allocations: 0 / 0.5425 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009862/0.1216, allocations: 0.7103 MB / 0.5432 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.204e-06/0.1217, allocations: 0 / 0.5432 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.1217, allocations: 0 / 0.5432 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007299/0.1224, allocations: 0.6511 MB / 0.5439 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1224, allocations: 0 / 0.5439 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1224, allocations: 0 / 0.5439 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1224, allocations: 0 / 0.5439 GB, free: 0.6016 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.0004436/0.1229, allocations: 369 kB / 0.5442 GB, free: 192 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1229, allocations: 15.97 kB / 0.5442 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.123, allocations: 0.9375 kB / 0.5442 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.1231, allocations: 168.4 kB / 0.5444 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1231, allocations: 384 / 0.5444 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.1231, allocations: 384 / 0.5444 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.165e-05/0.1232, allocations: 38 kB / 0.5444 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.1233, allocations: 0 / 0.5444 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1233, allocations: 0 / 0.5444 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.1233, allocations: 3.938 kB / 0.5444 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.1233, allocations: 4 kB / 0.5444 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.1235, allocations: 145.7 kB / 0.5446 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.101e-05/0.1235, allocations: 18.58 kB / 0.5446 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.1235, allocations: 8.859 kB / 0.5446 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.1235, allocations: 4.094 kB / 0.5446 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.1236, allocations: 64.19 kB / 0.5447 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1236, allocations: 0 / 0.5447 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001603/0.1238, allocations: 63.34 kB / 0.5447 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.1238, allocations: 77.23 kB / 0.5448 GB, free: 15.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.64e-05/0.1239, allocations: 97.81 kB / 0.5449 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1239, allocations: 25.7 kB / 0.5449 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.1239, allocations: 84.14 kB / 0.545 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.124, allocations: 0 / 0.545 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.124, allocations: 17.7 kB / 0.545 GB, free: 15.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1241, allocations: 310.8 kB / 0.5453 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.1242, allocations: 0 / 0.5453 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.355e-06/0.1242, allocations: 4 kB / 0.5453 GB, free: 14.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.401e-05/0.1242, allocations: 64.27 kB / 0.5454 GB, free: 14.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1242, allocations: 4 kB / 0.5454 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.318e-05/0.1243, allocations: 63.39 kB / 0.5455 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.1244, allocations: 39.98 kB / 0.5455 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1244, allocations: 0 / 0.5455 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1244, allocations: 0 / 0.5455 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.1244, allocations: 3.938 kB / 0.5455 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1244, allocations: 0 / 0.5455 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.423e-05/0.1244, allocations: 0 / 0.5455 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1244, allocations: 4.031 kB / 0.5455 GB, free: 14.67 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 9.155e-05/0.1245, allocations: 139.5 kB / 0.5456 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.1245, allocations: 3.938 kB / 0.5456 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.666e-06/0.1246, allocations: 7.109 kB / 0.5456 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1246, allocations: 0 / 0.5456 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1246, allocations: 4 kB / 0.5456 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.1246, allocations: 0 / 0.5456 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.1247, allocations: 149.6 kB / 0.5458 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1247, allocations: 0 / 0.5458 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.1247, allocations: 4 kB / 0.5458 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1247, allocations: 3.938 kB / 0.5458 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1247, allocations: 7.984 kB / 0.5458 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1247, allocations: 0 / 0.5458 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1247, allocations: 3.938 kB / 0.5458 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.453e-05/0.1248, allocations: 82.84 kB / 0.5459 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.1249, allocations: 89.08 kB / 0.546 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.1249, allocations: 7.969 kB / 0.546 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-06/0.1249, allocations: 0 / 0.546 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.1249, allocations: 0 / 0.546 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.1249, allocations: 4 kB / 0.546 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.305e-05/0.125, allocations: 75.28 kB / 0.5461 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.125, allocations: 4 kB / 0.5461 GB, free: 13.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003887/0.1254, allocations: 123.8 kB / 0.5462 GB, free: 13.87 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.0007123/0.1261, allocations: 164.6 kB / 0.5463 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.628e-05/0.1262, allocations: 63.34 kB / 0.5464 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1262, allocations: 0 / 0.5464 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.919e-05/0.1263, allocations: 55.41 kB / 0.5464 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.1264, allocations: 16.05 kB / 0.5465 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.1266, allocations: 102.8 kB / 0.5466 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1269, allocations: 0.6767 MB / 0.5472 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.152e-05/0.1269, allocations: 7.438 kB / 0.5472 GB, free: 12.7 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1269, allocations: 0 / 0.5472 GB, free: 12.7 MB / 414.1 MB Notification: Performance of Templates: time 0.004941/0.1318, allocations: 2.695 MB / 0.5499 GB, free: 10 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.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: 8.508271069964394]