Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 181.1 kB / 18.09 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.3 MB / 242.1 MB, free: 9.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 99.58 kB / 293.3 MB, free: 10.57 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.3654/0.3654, allocations: 44.15 MB / 388.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004171, allocations: 8 kB / 461.1 MB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3621, allocations: 61.87 MB / 0.5107 GB, free: 37.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.4831, allocations: 89.99 MB / 0.5986 GB, free: 5.141 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.4834, allocations: 75.94 kB / 0.5987 GB, free: 5.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05197/0.5354, allocations: 22.5 MB / 0.6206 GB, free: 14.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5354, allocations: 3.938 kB / 0.6206 GB, free: 14.54 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.5354, allocations: 0 / 0.6206 GB, free: 14.54 MB / 442.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.0005877/0.536, allocations: 437.1 kB / 0.6211 GB, free: 14.06 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.5361, allocations: 12.03 kB / 0.6211 GB, free: 14.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.5361, allocations: 4.938 kB / 0.6211 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.28e-05/0.5362, allocations: 160.4 kB / 0.6212 GB, free: 13.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.5362, allocations: 384 / 0.6212 GB, free: 13.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.5362, allocations: 4.359 kB / 0.6212 GB, free: 13.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.774e-05/0.5363, allocations: 30.27 kB / 0.6213 GB, free: 13.81 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.5363, allocations: 192 / 0.6213 GB, free: 13.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.5364, allocations: 3.938 kB / 0.6213 GB, free: 13.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.5364, allocations: 0 / 0.6213 GB, free: 13.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.952e-05/0.5364, allocations: 11.88 kB / 0.6213 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.5365, allocations: 153.7 kB / 0.6214 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.713e-05/0.5366, allocations: 18.52 kB / 0.6214 GB, free: 13.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.364e-05/0.5366, allocations: 8.953 kB / 0.6214 GB, free: 13.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-06/0.5366, allocations: 0 / 0.6214 GB, free: 13.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.5366, allocations: 60.25 kB / 0.6215 GB, free: 13.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.5366, allocations: 0 / 0.6215 GB, free: 13.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.000171/0.5368, allocations: 79.36 kB / 0.6216 GB, free: 13.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.5369, allocations: 77.11 kB / 0.6217 GB, free: 13.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.181e-05/0.5369, allocations: 89.86 kB / 0.6217 GB, free: 13.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.5369, allocations: 25.7 kB / 0.6218 GB, free: 13.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.081e-05/0.5369, allocations: 80.14 kB / 0.6218 GB, free: 13.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.537, allocations: 4 kB / 0.6218 GB, free: 13.08 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.537, allocations: 0 / 0.6218 GB, free: 13.08 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.5371, allocations: 310.8 kB / 0.6221 GB, free: 12.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.037e-05/0.5371, allocations: 4 kB / 0.6221 GB, free: 12.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-06/0.5371, allocations: 8.016 kB / 0.6222 GB, free: 12.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.65e-05/0.5371, allocations: 60.27 kB / 0.6222 GB, free: 12.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5372, allocations: 0 / 0.6222 GB, free: 12.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.976e-05/0.5372, allocations: 63.34 kB / 0.6223 GB, free: 12.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.5373, allocations: 29.7 kB / 0.6223 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.5373, allocations: 0 / 0.6223 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5373, allocations: 7.922 kB / 0.6223 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.606e-06/0.5373, allocations: 4 kB / 0.6223 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.5373, allocations: 96 / 0.6223 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.209e-05/0.5373, allocations: 4 kB / 0.6223 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.5373, allocations: 0 / 0.6223 GB, free: 12.56 MB / 442.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.457e-05/0.5374, allocations: 139.5 kB / 0.6224 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-06/0.5374, allocations: 0 / 0.6224 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.245e-05/0.5374, allocations: 7.062 kB / 0.6225 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.5374, allocations: 0 / 0.6225 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.5374, allocations: 0 / 0.6225 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.5375, allocations: 0 / 0.6225 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.996e-05/0.5375, allocations: 149.7 kB / 0.6226 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5375, allocations: 4 kB / 0.6226 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.5375, allocations: 0 / 0.6226 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.5376, allocations: 0 / 0.6226 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.5376, allocations: 3.938 kB / 0.6226 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.5376, allocations: 3.938 kB / 0.6226 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5376, allocations: 0 / 0.6226 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.81e-05/0.5377, allocations: 94.77 kB / 0.6227 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.5377, allocations: 77.14 kB / 0.6228 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.5377, allocations: 15.88 kB / 0.6228 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.178e-06/0.5377, allocations: 4 kB / 0.6228 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.006e-05/0.5378, allocations: 0 / 0.6228 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.5378, allocations: 0 / 0.6228 GB, free: 11.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.453e-05/0.5378, allocations: 75.28 kB / 0.6229 GB, free: 11.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5378, allocations: 0 / 0.6229 GB, free: 11.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004485/0.5382, allocations: 159.9 kB / 0.623 GB, free: 11.73 MB / 442.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) * 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 (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.000782/0.539, allocations: 355.5 kB / 0.6234 GB, free: 11.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.137e-05/0.5391, allocations: 63.34 kB / 0.6234 GB, free: 11.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5391, allocations: 0 / 0.6234 GB, free: 11.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.879e-05/0.5392, allocations: 59.39 kB / 0.6235 GB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.5393, allocations: 0 / 0.6235 GB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001492/0.5394, allocations: 74.77 kB / 0.6235 GB, free: 11.15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.5397, allocations: 0.6732 MB / 0.6242 GB, free: 10.45 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.179e-06/0.5397, allocations: 4 kB / 0.6242 GB, free: 10.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.949e-06/0.5397, allocations: 11.38 kB / 0.6242 GB, free: 10.43 MB / 442.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5397, allocations: 4 kB / 0.6242 GB, free: 10.43 MB / 442.7 MB Notification: Performance of Templates: time 0.007561/0.5473, allocations: 4.404 MB / 0.6285 GB, free: 6.02 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches