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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001732/0.001732, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001927/0.001927, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.488/2.488, allocations: 227.4 MB / 246.9 MB, free: 10.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3478/0.3478, allocations: 46.11 MB / 344.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002525/0.002525, allocations: 79.88 kB / 417.5 MB, free: 7.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2153, allocations: 62.44 MB / 479.9 MB, free: 9.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.002703/0.2181, allocations: 0.5488 MB / 480.5 MB, free: 8.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003447/0.2216, allocations: 1.572 MB / 482.1 MB, free: 6.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.553e-05/0.2216, allocations: 0 / 482.1 MB, free: 6.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.2217, allocations: 0 / 482.1 MB, free: 6.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.723e-06/0.2217, allocations: 3.938 kB / 482.1 MB, free: 6.898 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.001215/0.2229, allocations: 203.6 kB / 482.3 MB, free: 6.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.991e-05/0.223, allocations: 0 / 482.3 MB, free: 6.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.288e-05/0.223, allocations: 0 / 482.3 MB, free: 6.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.458e-05/0.2231, allocations: 7.984 kB / 482.3 MB, free: 6.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.338e-05/0.2231, allocations: 4 kB / 482.3 MB, free: 6.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.396e-06/0.2231, allocations: 0 / 482.3 MB, free: 6.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.2246, allocations: 0.6908 MB / 483 MB, free: 5.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.2246, allocations: 3.938 kB / 483 MB, free: 5.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.2246, allocations: 0 / 483 MB, free: 5.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006738/0.2253, allocations: 455.3 kB / 483.4 MB, free: 5.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.2253, allocations: 0 / 483.4 MB, free: 5.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2254, allocations: 0 / 483.4 MB, free: 5.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.2254, allocations: 0 / 483.4 MB, free: 5.547 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.0006409/0.226, allocations: 369.2 kB / 483.8 MB, free: 5.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/0.2261, allocations: 8.875 kB / 483.8 MB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.2261, allocations: 0.9375 kB / 483.8 MB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.2263, allocations: 164.4 kB / 483.9 MB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.2263, allocations: 4.375 kB / 483.9 MB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.2264, allocations: 4.375 kB / 483.9 MB, free: 4.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.2265, allocations: 34.02 kB / 484 MB, free: 4.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2265, allocations: 0 / 484 MB, free: 4.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.2266, allocations: 7.938 kB / 484 MB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.2266, allocations: 0 / 484 MB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.203e-05/0.2266, allocations: 3.938 kB / 484 MB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.2268, allocations: 141.7 kB / 484.1 MB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.421e-05/0.2269, allocations: 22.59 kB / 484.1 MB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.227, allocations: 8.859 kB / 484.2 MB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.227, allocations: 0 / 484.2 MB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.516e-05/0.2271, allocations: 68.27 kB / 484.2 MB, free: 4.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.2271, allocations: 0 / 484.2 MB, free: 4.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002854/0.2274, allocations: 59.34 kB / 484.3 MB, free: 4.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.2275, allocations: 85.09 kB / 484.4 MB, free: 4.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.255e-05/0.2275, allocations: 89.86 kB / 484.5 MB, free: 4.285 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.2276, allocations: 25.83 kB / 484.5 MB, free: 4.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.2276, allocations: 84.14 kB / 484.6 MB, free: 4.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.2277, allocations: 0 / 484.6 MB, free: 4.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.2277, allocations: 17.72 kB / 484.6 MB, free: 4.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2279, allocations: 310.8 kB / 484.9 MB, free: 3.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.2279, allocations: 0 / 484.9 MB, free: 3.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-06/0.2279, allocations: 0 / 484.9 MB, free: 3.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.627e-05/0.228, allocations: 60.27 kB / 484.9 MB, free: 3.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.228, allocations: 8.047 kB / 484.9 MB, free: 3.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001366/0.2282, allocations: 67.34 kB / 485 MB, free: 3.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.468e-05/0.2282, allocations: 33.64 kB / 485 MB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2283, allocations: 0 / 485 MB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2283, allocations: 0 / 485 MB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.118e-06/0.2283, allocations: 4 kB / 485.1 MB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.2283, allocations: 3.938 kB / 485.1 MB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.498e-05/0.2284, allocations: 0 / 485.1 MB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.2284, allocations: 0 / 485.1 MB, free: 3.625 MB / 398.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.0001552/0.2285, allocations: 143.6 kB / 485.2 MB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.2286, allocations: 3.938 kB / 485.2 MB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.544e-05/0.2286, allocations: 3.125 kB / 485.2 MB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2286, allocations: 0 / 485.2 MB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.2286, allocations: 0 / 485.2 MB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2286, allocations: 0 / 485.2 MB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.2288, allocations: 157.7 kB / 485.4 MB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2288, allocations: 0 / 485.4 MB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-06/0.2288, allocations: 4 kB / 485.4 MB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2288, allocations: 3.938 kB / 485.4 MB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.2288, allocations: 4 kB / 485.4 MB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2289, allocations: 0 / 485.4 MB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2289, allocations: 0 / 485.4 MB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.229, allocations: 98.7 kB / 485.5 MB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.2291, allocations: 77.11 kB / 485.5 MB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.2291, allocations: 7.938 kB / 485.5 MB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.44e-05/0.2291, allocations: 3.984 kB / 485.6 MB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.2292, allocations: 4.031 kB / 485.6 MB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.2292, allocations: 0 / 485.6 MB, free: 3.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.957e-05/0.2292, allocations: 75.28 kB / 485.6 MB, free: 2.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2292, allocations: 0 / 485.6 MB, free: 2.945 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006982/0.2299, allocations: 120 kB / 485.7 MB, free: 2.828 MB / 398.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.001156/0.2311, allocations: 173.3 kB / 485.9 MB, free: 2.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.2313, allocations: 59.39 kB / 486 MB, free: 2.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2313, allocations: 0 / 486 MB, free: 2.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.7e-05/0.2314, allocations: 59.34 kB / 486 MB, free: 2.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.2316, allocations: 0 / 486 MB, free: 2.516 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/0.2319, allocations: 112.5 kB / 486.1 MB, free: 2.371 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.2323, allocations: 0.6769 MB / 486.8 MB, free: 1.668 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.2324, allocations: 7.438 kB / 486.8 MB, free: 1.66 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2324, allocations: 0 / 486.8 MB, free: 1.66 MB / 398.1 MB Notification: Performance of Templates: time 0.008796/0.2412, allocations: 2.69 MB / 489.5 MB, free: 14.96 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches