Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 98.05 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2261/0.2261, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.596e-05/1.612e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1349, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4772/0.6121, allocations: 86.84 MB / 0.5795 GB, free: 9.664 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.6124, allocations: 59.97 kB / 0.5795 GB, free: 9.605 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008593/0.621, allocations: 2.793 MB / 0.5823 GB, free: 6.832 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6211, allocations: 0 / 0.5823 GB, free: 6.832 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.6211, allocations: 4 kB / 0.5823 GB, free: 6.828 MB / 394.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.000407/0.6215, allocations: 384 kB / 0.5826 GB, free: 6.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.6216, allocations: 11.98 kB / 0.5826 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.6216, allocations: 0 / 0.5826 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.6217, allocations: 167 kB / 0.5828 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.6217, allocations: 0 / 0.5828 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.6218, allocations: 3.984 kB / 0.5828 GB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.6e-05/0.6218, allocations: 4 kB / 0.5828 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8e-05/0.6219, allocations: 25.7 kB / 0.5828 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6219, allocations: 0 / 0.5828 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.6219, allocations: 3.938 kB / 0.5828 GB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.622, allocations: 0 / 0.5828 GB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.6221, allocations: 130.2 kB / 0.583 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.189e-05/0.6221, allocations: 26.47 kB / 0.583 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.598e-05/0.6222, allocations: 4.859 kB / 0.583 GB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.6222, allocations: 0 / 0.583 GB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.6222, allocations: 64.34 kB / 0.583 GB, free: 5.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.6223, allocations: 0 / 0.583 GB, free: 5.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002072/0.6225, allocations: 29.7 kB / 0.5831 GB, free: 5.824 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.6225, allocations: 77.11 kB / 0.5832 GB, free: 5.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.99e-05/0.6226, allocations: 97.03 kB / 0.5832 GB, free: 5.629 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.6226, allocations: 25.7 kB / 0.5833 GB, free: 5.598 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.6226, allocations: 80.14 kB / 0.5833 GB, free: 5.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.6227, allocations: 0 / 0.5833 GB, free: 5.516 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.6227, allocations: 0 / 0.5833 GB, free: 5.516 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6228, allocations: 310.8 kB / 0.5836 GB, free: 5.203 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-06/0.6228, allocations: 3.938 kB / 0.5836 GB, free: 5.199 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.707e-06/0.6228, allocations: 11.92 kB / 0.5837 GB, free: 5.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.354e-05/0.6229, allocations: 4.062 kB / 0.5837 GB, free: 5.184 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6229, allocations: 0 / 0.5837 GB, free: 5.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.268e-05/0.6229, allocations: 33.7 kB / 0.5837 GB, free: 5.145 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.623, allocations: 33.66 kB / 0.5837 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.623, allocations: 0 / 0.5837 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.623, allocations: 0 / 0.5837 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.623, allocations: 0 / 0.5837 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.623, allocations: 0 / 0.5837 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.277e-05/0.623, allocations: 0 / 0.5837 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.6231, allocations: 7.984 kB / 0.5837 GB, free: 5.098 MB / 394.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 9.2e-05/0.6232, allocations: 134.7 kB / 0.5839 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-06/0.6232, allocations: 0 / 0.5839 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.002e-05/0.6232, allocations: 15.69 kB / 0.5839 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.6232, allocations: 0 / 0.5839 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6232, allocations: 0 / 0.5839 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.6232, allocations: 0 / 0.5839 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.466e-05/0.6233, allocations: 127.1 kB / 0.584 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.6233, allocations: 0 / 0.584 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.6233, allocations: 0 / 0.584 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.6233, allocations: 4 kB / 0.584 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.6233, allocations: 4 kB / 0.584 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.6233, allocations: 7.938 kB / 0.584 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.6234, allocations: 3.953 kB / 0.584 GB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.6235, allocations: 61.12 kB / 0.5841 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.6235, allocations: 81.05 kB / 0.5842 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.6235, allocations: 4 kB / 0.5842 GB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-06/0.6235, allocations: 0 / 0.5842 GB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/0.6236, allocations: 11.97 kB / 0.5842 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.6236, allocations: 0 / 0.5842 GB, free: 4.562 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.199e-05/0.6236, allocations: 75.28 kB / 0.5842 GB, free: 4.488 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6236, allocations: 0 / 0.5842 GB, free: 4.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003965/0.624, allocations: 83.86 kB / 0.5843 GB, free: 4.406 MB / 394.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.0005204/0.6246, allocations: 210.1 kB / 0.5845 GB, free: 4.203 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.419e-05/0.6247, allocations: 59.34 kB / 0.5846 GB, free: 4.133 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6247, allocations: 0 / 0.5846 GB, free: 4.133 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.219e-05/0.6247, allocations: 63.41 kB / 0.5846 GB, free: 4.059 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.918e-05/0.6248, allocations: 0 / 0.5846 GB, free: 4.059 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001743/0.625, allocations: 44.06 kB / 0.5847 GB, free: 3.992 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.6253, allocations: 0.6729 MB / 0.5853 GB, free: 3.293 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.422e-06/0.6253, allocations: 0 / 0.5853 GB, free: 3.293 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.698e-06/0.6254, allocations: 7.438 kB / 0.5853 GB, free: 3.285 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.6254, allocations: 0 / 0.5853 GB, free: 3.285 MB / 394.7 MB Notification: Performance of Templates: time 0.003901/0.6293, allocations: 1.425 MB / 0.5867 GB, free: 1.867 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches