Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009837/0.0009839, allocations: 177.9 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3702/0.3702, allocations: 43.56 MB / 314.5 MB, free: 8.992 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005895/0.0005898, allocations: 16 kB / 383.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1454, allocations: 58.86 MB / 442.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0006453/0.1461, allocations: 224.4 kB / 443 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.1489, allocations: 1.908 MB / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-06/0.1489, allocations: 0 / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.608e-06/0.1489, allocations: 0 / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.863e-06/0.1489, allocations: 0 / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.1503, allocations: 438.7 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.69e-05/0.1503, allocations: 4 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.098e-05/0.1503, allocations: 3.984 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-06/0.1503, allocations: 0 / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.301e-05/0.1503, allocations: 0 / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.509e-06/0.1504, allocations: 3.938 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009311/0.1513, allocations: 0.7057 MB / 446 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.5e-06/0.1513, allocations: 0 / 446 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.1513, allocations: 29.7 kB / 446 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000568/0.1519, allocations: 0.5264 MB / 446.6 MB, free: 9.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1519, allocations: 0 / 446.6 MB, free: 9.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1519, allocations: 0 / 446.6 MB, free: 9.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1519, allocations: 0 / 446.6 MB, free: 9.449 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003752/0.1523, allocations: 367.4 kB / 446.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1524, allocations: 12.02 kB / 446.9 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.1525, allocations: 79.23 kB / 447 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.1526, allocations: 250.3 kB / 447.3 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.106e-05/0.1526, allocations: 154.6 kB / 447.4 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.515e-05/0.1527, allocations: 150.6 kB / 447.6 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.294e-05/0.1528, allocations: 101 kB / 447.7 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.1528, allocations: 75.28 kB / 447.7 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.882e-05/0.1529, allocations: 154.5 kB / 447.9 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.901e-05/0.1529, allocations: 154.6 kB / 448 MB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.917e-05/0.153, allocations: 154.5 kB / 448.2 MB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.1533, allocations: 449.9 kB / 448.6 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.765e-05/0.1534, allocations: 165.1 kB / 448.8 MB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.1534, allocations: 79.28 kB / 448.9 MB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/0.1535, allocations: 113.8 kB / 449 MB, free: 6.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1535, allocations: 0 / 449 MB, free: 6.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.184e-05/0.1535, allocations: 33.69 kB / 449 MB, free: 6.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.1536, allocations: 156.4 kB / 449.2 MB, free: 6.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.309e-05/0.1537, allocations: 89.86 kB / 449.2 MB, free: 6.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1537, allocations: 25.7 kB / 449.3 MB, free: 6.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.1537, allocations: 84.14 kB / 449.4 MB, free: 6.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-06/0.1537, allocations: 0 / 449.4 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/0.1537, allocations: 0 / 449.4 MB, free: 6.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1539, allocations: 314.8 kB / 449.7 MB, free: 6.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.627e-06/0.1539, allocations: 0 / 449.7 MB, free: 6.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.1539, allocations: 4 kB / 449.7 MB, free: 6.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.677e-05/0.1539, allocations: 79.22 kB / 449.7 MB, free: 6.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-05/0.154, allocations: 75.28 kB / 449.8 MB, free: 5.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.7e-05/0.154, allocations: 29.73 kB / 449.8 MB, free: 5.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.1541, allocations: 87.27 kB / 449.9 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.157e-05/0.1541, allocations: 75.28 kB / 450 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.783e-05/0.1542, allocations: 154.5 kB / 450.2 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.167e-05/0.1542, allocations: 83.33 kB / 450.2 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.702e-05/0.1543, allocations: 158.5 kB / 450.4 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.833e-05/0.1543, allocations: 83.22 kB / 450.5 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.1544, allocations: 75.28 kB / 450.5 MB, free: 5.23 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 0.000123/0.1545, allocations: 264.4 kB / 450.8 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-05/0.1546, allocations: 108.9 kB / 450.9 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.703e-05/0.1546, allocations: 108.1 kB / 451 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-05/0.1547, allocations: 180.2 kB / 451.2 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.809e-05/0.1548, allocations: 184.3 kB / 451.4 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.798e-05/0.1548, allocations: 176.3 kB / 451.5 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.1551, allocations: 405.4 kB / 451.9 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-05/0.1551, allocations: 105 kB / 452 MB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.1551, allocations: 109 kB / 452.2 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.95e-05/0.1552, allocations: 184.3 kB / 452.3 MB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.1e-05/0.1553, allocations: 180.2 kB / 452.5 MB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.392e-05/0.1554, allocations: 184.1 kB / 452.7 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.943e-05/0.1554, allocations: 180.3 kB / 452.9 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.1556, allocations: 315.7 kB / 453.2 MB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.029e-05/0.1557, allocations: 186 kB / 453.4 MB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.891e-05/0.1557, allocations: 176.3 kB / 453.5 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.1558, allocations: 105 kB / 453.6 MB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.1559, allocations: 184.2 kB / 453.8 MB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.1559, allocations: 109 kB / 453.9 MB, free: 1.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.739e-05/0.156, allocations: 79.28 kB / 454 MB, free: 1.559 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.156, allocations: 0 / 454 MB, free: 1.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005279/0.1565, allocations: 136.3 kB / 454.1 MB, free: 1.426 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0006879/0.1572, allocations: 338.2 kB / 454.5 MB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.977e-05/0.1573, allocations: 7.938 kB / 454.5 MB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1573, allocations: 4 kB / 454.5 MB, free: 1.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.1573, allocations: 3.938 kB / 454.5 MB, free: 1.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.1576, allocations: 0.5185 MB / 455 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001815/0.1578, allocations: 154 kB / 455.1 MB, free: 380 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2046/0.3624, allocations: 0.6692 MB / 455.8 MB, free: 47.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.977e-05/0.3625, allocations: 2.312 kB / 455.8 MB, free: 47.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.3625, allocations: 7.438 kB / 455.8 MB, free: 47.26 MB / 382.1 MB Notification: Performance of SimCode: time 1.372e-06/0.3625, allocations: 0 / 455.8 MB, free: 47.26 MB / 382.1 MB Notification: Performance of Templates: time 0.006546/0.3691, allocations: 3.091 MB / 458.9 MB, free: 47.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches