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.001815/0.001815, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002336/0.002336, allocations: 210.5 kB / 24.48 MB, free: 3.934 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.477/1.477, allocations: 230.5 MB / 258.1 MB, free: 7.797 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.227/0.227, allocations: 46.95 MB / 361.5 MB, free: 3.941 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.002434/0.002434, allocations: 75.88 kB / 0.4974 GB, free: 7.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3305, allocations: 66.08 MB / 0.5619 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001782/0.3323, allocations: 0.4886 MB / 0.5624 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003351/0.3357, allocations: 2.059 MB / 0.5644 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.3357, allocations: 0 / 0.5644 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.3357, allocations: 8 kB / 0.5644 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.021e-06/0.3357, allocations: 0 / 0.5644 GB, free: 1.414 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.002163/0.3379, allocations: 0.7599 MB / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.167e-05/0.3379, allocations: 11.94 kB / 0.5651 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.3379, allocations: 3.938 kB / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.071e-05/0.338, allocations: 0 / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.954e-05/0.338, allocations: 0 / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.961e-06/0.338, allocations: 0 / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.3403, allocations: 1.552 MB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.3403, allocations: 0 / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.3403, allocations: 0 / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.3421, allocations: 1.55 MB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3421, allocations: 0 / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3421, allocations: 3.938 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3421, allocations: 0 / 0.5682 GB, free: 13.54 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.0005994/0.3427, allocations: 343.4 kB / 0.5685 GB, free: 13.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3427, allocations: 8.031 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.3428, allocations: 8.938 kB / 0.5685 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.852e-05/0.3429, allocations: 102.5 kB / 0.5686 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3429, allocations: 4.312 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-06/0.3429, allocations: 384 / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.343, allocations: 59.72 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.343, allocations: 0 / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.343, allocations: 0 / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.343, allocations: 0 / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.3431, allocations: 29.7 kB / 0.5687 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.3432, allocations: 101.3 kB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.63e-05/0.3433, allocations: 52.25 kB / 0.5689 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/0.3433, allocations: 30.56 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.3433, allocations: 0 / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.808e-05/0.3434, allocations: 60.33 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.3434, allocations: 0 / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002212/0.3436, allocations: 126.7 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.3436, allocations: 77.11 kB / 0.5691 GB, free: 12.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.595e-05/0.3437, allocations: 93.8 kB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.3437, allocations: 25.7 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.3438, allocations: 80.14 kB / 0.5693 GB, free: 12.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.3438, allocations: 8.125 kB / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.3438, allocations: 13.72 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.344, allocations: 314.8 kB / 0.5696 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.619e-05/0.344, allocations: 33.64 kB / 0.5697 GB, free: 11.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.969e-05/0.344, allocations: 25.7 kB / 0.5697 GB, free: 11.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.083e-05/0.3441, allocations: 60.27 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3441, allocations: 0 / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.425e-05/0.3442, allocations: 93.09 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.3442, allocations: 33.64 kB / 0.5699 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3442, allocations: 8.094 kB / 0.5699 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3442, allocations: 3.938 kB / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.3442, allocations: 4 kB / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3442, allocations: 0 / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.509e-05/0.3442, allocations: 0 / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.3442, allocations: 0 / 0.5699 GB, free: 11.5 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.0001029/0.3444, allocations: 143.5 kB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-06/0.3444, allocations: 0 / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.231e-05/0.3444, allocations: 6.938 kB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.3444, allocations: 0 / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3444, allocations: 4 kB / 0.57 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3444, allocations: 0 / 0.57 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.82e-05/0.3445, allocations: 101.3 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3445, allocations: 0 / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.3445, allocations: 0 / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.3445, allocations: 0 / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.3445, allocations: 0 / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.3445, allocations: 7.922 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3445, allocations: 4 kB / 0.5702 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.3446, allocations: 116.5 kB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.3446, allocations: 3.984 kB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.3446, allocations: 4.031 kB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.184e-05/0.3446, allocations: 3.938 kB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.3446, allocations: 4 kB / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.3446, allocations: 7.875 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.455e-05/0.3447, allocations: 75.28 kB / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3447, allocations: 0 / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009007/0.3456, allocations: 271.6 kB / 0.5706 GB, free: 10.68 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.001363/0.3469, allocations: 428.4 kB / 0.571 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.3471, allocations: 110.8 kB / 0.5711 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3471, allocations: 4.062 kB / 0.5711 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.692e-05/0.3472, allocations: 81.11 kB / 0.5712 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.3473, allocations: 6.531 kB / 0.5712 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.3475, allocations: 132.4 kB / 0.5713 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.102e-05/0.3476, allocations: 55.36 kB / 0.5714 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.3476, allocations: 11.44 kB / 0.5714 GB, free: 9.773 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3476, allocations: 3.938 kB / 0.5714 GB, free: 9.77 MB / 414.1 MB Notification: Performance of Templates: time 0.01229/0.3599, allocations: 6.638 MB / 0.5779 GB, free: 3.121 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.761387059930712]