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/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: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009032/0.0009026, allocations: 87.72 kB / 267 MB, free: 9.281 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.4838/0.4838, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.902e-05/3.917e-05, allocations: 0 / 425.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1551, allocations: 58.84 MB / 484.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5328/0.688, allocations: 88.94 MB / 0.5597 GB, free: 15.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.6883, allocations: 65.94 kB / 0.5598 GB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02516/0.7135, allocations: 7.406 MB / 0.567 GB, free: 10.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.7135, allocations: 0 / 0.567 GB, free: 10.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.7136, allocations: 0 / 0.567 GB, free: 10.13 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000537/0.7141, allocations: 409.7 kB / 0.5674 GB, free: 9.688 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/0.7142, allocations: 8.031 kB / 0.5674 GB, free: 9.68 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.852e-05/0.7142, allocations: 105.8 kB / 0.5675 GB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.914e-05/0.7143, allocations: 75.28 kB / 0.5676 GB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.7145, allocations: 242.8 kB / 0.5678 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.7145, allocations: 150.6 kB / 0.568 GB, free: 9.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.7146, allocations: 154.6 kB / 0.5681 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.812e-05/0.7146, allocations: 108.9 kB / 0.5682 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.7147, allocations: 75.28 kB / 0.5683 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.7147, allocations: 150.6 kB / 0.5685 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.7148, allocations: 150.6 kB / 0.5686 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.072e-05/0.7148, allocations: 158.5 kB / 0.5688 GB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.715, allocations: 445.5 kB / 0.5692 GB, free: 7.797 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.983e-05/0.7151, allocations: 169.8 kB / 0.5693 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.7151, allocations: 80.14 kB / 0.5694 GB, free: 7.539 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.7152, allocations: 78.84 kB / 0.5695 GB, free: 7.465 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.7152, allocations: 109.8 kB / 0.5696 GB, free: 7.348 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.884e-06/0.7152, allocations: 3.984 kB / 0.5696 GB, free: 7.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.117e-05/0.7153, allocations: 41.62 kB / 0.5696 GB, free: 7.297 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.7154, allocations: 152.4 kB / 0.5698 GB, free: 7.129 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.251e-05/0.7154, allocations: 85 kB / 0.5699 GB, free: 7.039 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.7154, allocations: 29.69 kB / 0.5699 GB, free: 7.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.136e-05/0.7155, allocations: 80.14 kB / 0.57 GB, free: 6.922 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.7155, allocations: 0 / 0.57 GB, free: 6.922 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.7155, allocations: 0 / 0.57 GB, free: 6.922 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.7156, allocations: 314.8 kB / 0.5703 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-06/0.7156, allocations: 0 / 0.5703 GB, free: 6.605 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.7156, allocations: 4 kB / 0.5703 GB, free: 6.602 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.214e-05/0.7156, allocations: 82.91 kB / 0.5704 GB, free: 6.523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/0.7157, allocations: 77.62 kB / 0.5704 GB, free: 6.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.713e-05/0.7157, allocations: 29.64 kB / 0.5705 GB, free: 6.414 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.7158, allocations: 83.28 kB / 0.5705 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.7158, allocations: 79.31 kB / 0.5706 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.289e-05/0.7159, allocations: 150.6 kB / 0.5708 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.441e-05/0.7159, allocations: 87.16 kB / 0.5708 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.201e-05/0.7159, allocations: 154.6 kB / 0.571 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/0.716, allocations: 79.22 kB / 0.5711 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.716, allocations: 78.53 kB / 0.5711 GB, free: 5.715 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: 0 () * Number of discrete 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.0001039/0.7161, allocations: 260.5 kB / 0.5714 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.7162, allocations: 104.9 kB / 0.5715 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.7163, allocations: 104.1 kB / 0.5716 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.823e-05/0.7163, allocations: 180.2 kB / 0.5718 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.754e-05/0.7164, allocations: 191.8 kB / 0.5719 GB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.198e-05/0.7164, allocations: 180.3 kB / 0.5721 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.7166, allocations: 398 kB / 0.5725 GB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-05/0.7167, allocations: 105 kB / 0.5726 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.7167, allocations: 110.2 kB / 0.5727 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.022e-05/0.7168, allocations: 183.4 kB / 0.5729 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.774e-05/0.7168, allocations: 176.3 kB / 0.573 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-05/0.7169, allocations: 188.2 kB / 0.5732 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.781e-05/0.7169, allocations: 184.2 kB / 0.5734 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.7171, allocations: 302.5 kB / 0.5737 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.7172, allocations: 182.1 kB / 0.5739 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.563e-05/0.7173, allocations: 191.8 kB / 0.574 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.517e-05/0.7173, allocations: 102.7 kB / 0.5741 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.7174, allocations: 180.3 kB / 0.5743 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.7174, allocations: 104.9 kB / 0.5744 GB, free: 2.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.557e-05/0.7175, allocations: 79.33 kB / 0.5745 GB, free: 2.082 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7175, allocations: 0 / 0.5745 GB, free: 2.082 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008175/0.7183, allocations: 182.5 kB / 0.5747 GB, free: 1.906 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: 0 () * Number of discrete 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.001171/0.7195, allocations: 1.002 MB / 0.5756 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.276e-05/0.7195, allocations: 4 kB / 0.5756 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7195, allocations: 0 / 0.5756 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.7195, allocations: 0 / 0.5756 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.7198, allocations: 0.5146 MB / 0.5761 GB, free: 384 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005857/0.7204, allocations: 237.2 kB / 0.5764 GB, free: 112 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.7209, allocations: 0.6731 MB / 0.577 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.423e-05/0.7209, allocations: 4 kB / 0.577 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.7209, allocations: 7.438 kB / 0.577 GB, free: 15.4 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.7209, allocations: 0 / 0.577 GB, free: 15.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.7422, allocations: 4.351 MB / 0.5813 GB, free: 11.13 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.7425, allocations: 208.4 kB / 0.5815 GB, free: 10.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.506, allocations: 0 / 0.5815 GB, free: 10.9 MB / 410.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat does not exist to compare? outputFormat=mat