Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009838/0.0009838, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009758/0.0009757, allocations: 86.62 kB / 261.7 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2208/0.2208, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.469e-05/1.471e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1311, allocations: 58.85 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3924/0.5236, allocations: 85.57 MB / 0.5495 GB, free: 8.969 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.5239, allocations: 66.88 kB / 0.5496 GB, free: 8.961 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007518/0.5314, allocations: 2.742 MB / 0.5522 GB, free: 6.758 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5315, allocations: 0 / 0.5522 GB, free: 6.758 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.5315, allocations: 0 / 0.5522 GB, free: 6.758 MB / 362.7 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.0003425/0.5318, allocations: 383.8 kB / 0.5526 GB, free: 6.336 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.5319, allocations: 8.031 kB / 0.5526 GB, free: 6.328 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.5319, allocations: 3.953 kB / 0.5526 GB, free: 6.324 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.842e-05/0.532, allocations: 167 kB / 0.5528 GB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.532, allocations: 8 kB / 0.5528 GB, free: 6.113 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.532, allocations: 0 / 0.5528 GB, free: 6.113 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.323e-05/0.5321, allocations: 0.5625 kB / 0.5528 GB, free: 6.113 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.647e-05/0.5322, allocations: 29.7 kB / 0.5528 GB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.5322, allocations: 0 / 0.5528 GB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.5322, allocations: 0 / 0.5528 GB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.5322, allocations: 3.953 kB / 0.5528 GB, free: 6.074 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.5324, allocations: 127 kB / 0.5529 GB, free: 5.918 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.126e-05/0.5324, allocations: 18.67 kB / 0.5529 GB, free: 5.891 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.5324, allocations: 12.84 kB / 0.553 GB, free: 5.875 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.5325, allocations: 7.922 kB / 0.553 GB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.5325, allocations: 56.27 kB / 0.553 GB, free: 5.797 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.5325, allocations: 0 / 0.553 GB, free: 5.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001937/0.5327, allocations: 33.7 kB / 0.5531 GB, free: 5.758 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.5328, allocations: 77.11 kB / 0.5531 GB, free: 5.664 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.912e-05/0.5328, allocations: 88.91 kB / 0.5532 GB, free: 5.574 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.5328, allocations: 29.7 kB / 0.5532 GB, free: 5.539 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.656e-05/0.5328, allocations: 80.14 kB / 0.5533 GB, free: 5.457 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.5329, allocations: 0 / 0.5533 GB, free: 5.457 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.5329, allocations: 0 / 0.5533 GB, free: 5.457 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.012e-05/0.5329, allocations: 325.3 kB / 0.5536 GB, free: 5.133 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-06/0.533, allocations: 0 / 0.5536 GB, free: 5.133 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-06/0.533, allocations: 0 / 0.5536 GB, free: 5.133 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.796e-05/0.533, allocations: 0 / 0.5536 GB, free: 5.133 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.533, allocations: 4.062 kB / 0.5536 GB, free: 5.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.786e-05/0.5331, allocations: 37.64 kB / 0.5537 GB, free: 5.086 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.5331, allocations: 29.7 kB / 0.5537 GB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.5331, allocations: 0 / 0.5537 GB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.5331, allocations: 11.92 kB / 0.5537 GB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.5331, allocations: 0 / 0.5537 GB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.5332, allocations: 0 / 0.5537 GB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.386e-05/0.5332, allocations: 4 kB / 0.5537 GB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.5332, allocations: 0 / 0.5537 GB, free: 5.035 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.326e-05/0.5333, allocations: 142.6 kB / 0.5538 GB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-06/0.5333, allocations: 0 / 0.5538 GB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.329e-05/0.5333, allocations: 3.75 kB / 0.5538 GB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.5333, allocations: 0 / 0.5538 GB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5333, allocations: 0 / 0.5538 GB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5333, allocations: 3.938 kB / 0.5539 GB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.36e-05/0.5334, allocations: 130.2 kB / 0.554 GB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5334, allocations: 3.953 kB / 0.554 GB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.5334, allocations: 0 / 0.554 GB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.5334, allocations: 0 / 0.554 GB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.5334, allocations: 0 / 0.554 GB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.5334, allocations: 4 kB / 0.554 GB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5334, allocations: 0 / 0.554 GB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.372e-05/0.5335, allocations: 68.75 kB / 0.554 GB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.5336, allocations: 81.06 kB / 0.5541 GB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.5336, allocations: 0 / 0.5541 GB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-06/0.5336, allocations: 0 / 0.5541 GB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.5336, allocations: 0 / 0.5541 GB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-06/0.5336, allocations: 8.031 kB / 0.5541 GB, free: 4.516 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.823e-05/0.5337, allocations: 75.28 kB / 0.5542 GB, free: 4.441 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5337, allocations: 0 / 0.5542 GB, free: 4.441 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003381/0.534, allocations: 83.86 kB / 0.5543 GB, free: 4.359 MB / 362.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004438/0.5344, allocations: 203.2 kB / 0.5545 GB, free: 4.172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.383e-05/0.5345, allocations: 55.41 kB / 0.5545 GB, free: 4.105 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5346, allocations: 0 / 0.5545 GB, free: 4.105 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.288e-05/0.5346, allocations: 63.33 kB / 0.5546 GB, free: 4.031 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.127e-05/0.5347, allocations: 3.938 kB / 0.5546 GB, free: 4.027 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001369/0.5348, allocations: 52.86 kB / 0.5546 GB, free: 3.957 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.535, allocations: 0.6806 MB / 0.5553 GB, free: 3.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.004e-05/0.535, allocations: 0 / 0.5553 GB, free: 3.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-06/0.535, allocations: 7.438 kB / 0.5553 GB, free: 3.242 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.535, allocations: 0 / 0.5553 GB, free: 3.242 MB / 362.7 MB Notification: Performance of Templates: time 0.003624/0.5386, allocations: 1.414 MB / 0.5567 GB, free: 1.844 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches