Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001094/0.001093, allocations: 193.5 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008873/0.0008872, allocations: 97.09 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 45.15 MB / 383.8 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.584e-05/1.585e-05, allocations: 4 kB / 453.2 MB, free: 75.86 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1167, allocations: 63.25 MB / 0.5044 GB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4526/0.5694, allocations: 87.97 MB / 0.5903 GB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.5696, allocations: 69.22 kB / 0.5903 GB, free: 14.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008213/0.5779, allocations: 2.842 MB / 0.5931 GB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.5779, allocations: 0 / 0.5931 GB, free: 12.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.5779, allocations: 3.938 kB / 0.5931 GB, free: 12.22 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.0002872/0.5782, allocations: 372.2 kB / 0.5935 GB, free: 11.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.5782, allocations: 12.03 kB / 0.5935 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.5783, allocations: 10.27 kB / 0.5935 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.064e-05/0.5784, allocations: 166.2 kB / 0.5936 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.5784, allocations: 0 / 0.5936 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.5784, allocations: 0 / 0.5936 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.087e-05/0.5785, allocations: 0 / 0.5936 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.337e-05/0.5785, allocations: 33.64 kB / 0.5937 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.5785, allocations: 0 / 0.5937 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.5785, allocations: 0 / 0.5937 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5786, allocations: 3.953 kB / 0.5937 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001004/0.5787, allocations: 126.2 kB / 0.5938 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.415e-05/0.5787, allocations: 22.59 kB / 0.5938 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.194e-05/0.5787, allocations: 7.859 kB / 0.5938 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.5787, allocations: 0 / 0.5938 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.5788, allocations: 56.27 kB / 0.5939 GB, free: 11.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.5788, allocations: 0 / 0.5939 GB, free: 11.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001573/0.5789, allocations: 37.7 kB / 0.5939 GB, free: 11.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.579, allocations: 85.08 kB / 0.594 GB, free: 11.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.737e-05/0.579, allocations: 85 kB / 0.5941 GB, free: 11.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.5791, allocations: 25.7 kB / 0.5941 GB, free: 11.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.5791, allocations: 83.83 kB / 0.5942 GB, free: 10.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.5791, allocations: 7.984 kB / 0.5942 GB, free: 10.92 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.5791, allocations: 0 / 0.5942 GB, free: 10.92 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.5792, allocations: 314.8 kB / 0.5945 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-06/0.5792, allocations: 0 / 0.5945 GB, free: 10.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-06/0.5792, allocations: 4 kB / 0.5945 GB, free: 10.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.679e-05/0.5793, allocations: 4.844 kB / 0.5945 GB, free: 10.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5793, allocations: 0 / 0.5945 GB, free: 10.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.023e-05/0.5793, allocations: 29.7 kB / 0.5945 GB, free: 10.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.5794, allocations: 33.7 kB / 0.5946 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5794, allocations: 3.984 kB / 0.5946 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.5794, allocations: 0 / 0.5946 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.655e-06/0.5794, allocations: 0 / 0.5946 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.5794, allocations: 3.938 kB / 0.5946 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.183e-05/0.5795, allocations: 96 / 0.5946 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.5795, allocations: 7.938 kB / 0.5946 GB, free: 10.5 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 7.344e-05/0.5796, allocations: 138.1 kB / 0.5947 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-06/0.5796, allocations: 0 / 0.5947 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.07e-05/0.5796, allocations: 3.75 kB / 0.5947 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.5796, allocations: 0 / 0.5947 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5796, allocations: 0.875 kB / 0.5947 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.5796, allocations: 3.984 kB / 0.5947 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.154e-05/0.5797, allocations: 130.2 kB / 0.5948 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5797, allocations: 3.953 kB / 0.5948 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.5797, allocations: 4 kB / 0.5948 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.5797, allocations: 0 / 0.5948 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.5797, allocations: 4 kB / 0.5948 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.5797, allocations: 0 / 0.5948 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.5797, allocations: 4 kB / 0.5949 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.306e-05/0.5798, allocations: 60.25 kB / 0.5949 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.5799, allocations: 81.06 kB / 0.595 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.5799, allocations: 0 / 0.595 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.5799, allocations: 8.031 kB / 0.595 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.5799, allocations: 7.875 kB / 0.595 GB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.5799, allocations: 0 / 0.595 GB, free: 9.984 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.356e-05/0.5799, allocations: 75.28 kB / 0.5951 GB, free: 9.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5799, allocations: 0 / 0.5951 GB, free: 9.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002934/0.5802, allocations: 87.36 kB / 0.5952 GB, free: 9.828 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.000415/0.5807, allocations: 202.2 kB / 0.5953 GB, free: 9.629 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.234e-05/0.5808, allocations: 55.41 kB / 0.5954 GB, free: 9.562 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5808, allocations: 4.062 kB / 0.5954 GB, free: 9.559 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.546e-05/0.5808, allocations: 59.39 kB / 0.5955 GB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.558e-05/0.5809, allocations: 3.562 kB / 0.5955 GB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001195/0.581, allocations: 44.02 kB / 0.5955 GB, free: 9.422 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.5812, allocations: 0.6768 MB / 0.5962 GB, free: 8.719 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.943e-06/0.5812, allocations: 0 / 0.5962 GB, free: 8.719 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.474e-06/0.5812, allocations: 11.38 kB / 0.5962 GB, free: 8.711 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5812, allocations: 0 / 0.5962 GB, free: 8.711 MB / 394.7 MB Notification: Performance of Templates: time 0.003437/0.5847, allocations: 1.42 MB / 0.5976 GB, free: 7.305 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches