Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",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.001654/0.001654, allocations: 176.9 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009599/0.0009598, allocations: 82.62 kB / 261.7 MB, free: 1.68 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.2361/0.2361, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.75e-05/2.752e-05, allocations: 4 kB / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.146, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5251/0.6712, allocations: 85.57 MB / 0.5496 GB, free: 8.746 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.6715, allocations: 64.39 kB / 0.5496 GB, free: 8.715 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007713/0.6792, allocations: 2.748 MB / 0.5523 GB, free: 6.469 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6793, allocations: 0 / 0.5523 GB, free: 6.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.6793, allocations: 0 / 0.5523 GB, free: 6.469 MB / 362.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.0002755/0.6796, allocations: 387.9 kB / 0.5527 GB, free: 6.043 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.6796, allocations: 8.031 kB / 0.5527 GB, free: 6.035 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.6797, allocations: 7.953 kB / 0.5527 GB, free: 6.027 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.251e-05/0.6797, allocations: 159.1 kB / 0.5529 GB, free: 5.832 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.6798, allocations: 3.984 kB / 0.5529 GB, free: 5.828 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.6798, allocations: 4 kB / 0.5529 GB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.146e-05/0.6798, allocations: 0 / 0.5529 GB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.826e-05/0.6799, allocations: 37.08 kB / 0.5529 GB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.6799, allocations: 0 / 0.5529 GB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.6799, allocations: 0 / 0.5529 GB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.6799, allocations: 7.938 kB / 0.5529 GB, free: 5.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.087e-05/0.68, allocations: 122.2 kB / 0.553 GB, free: 5.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.209e-05/0.6801, allocations: 18.61 kB / 0.553 GB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.224e-05/0.6801, allocations: 8.859 kB / 0.5531 GB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-06/0.6801, allocations: 0 / 0.5531 GB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.6802, allocations: 62.2 kB / 0.5531 GB, free: 5.512 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.6802, allocations: 0 / 0.5531 GB, free: 5.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001864/0.6804, allocations: 41.69 kB / 0.5532 GB, free: 5.465 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.6804, allocations: 77.11 kB / 0.5532 GB, free: 5.371 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.327e-05/0.6804, allocations: 85 kB / 0.5533 GB, free: 5.281 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.6804, allocations: 30.3 kB / 0.5533 GB, free: 5.246 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.689e-05/0.6805, allocations: 80.14 kB / 0.5534 GB, free: 5.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.6805, allocations: 4 kB / 0.5534 GB, free: 5.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.6805, allocations: 0 / 0.5534 GB, free: 5.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.34e-05/0.6806, allocations: 318 kB / 0.5537 GB, free: 4.844 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-06/0.6806, allocations: 0 / 0.5537 GB, free: 4.844 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-06/0.6806, allocations: 3.938 kB / 0.5537 GB, free: 4.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.048e-05/0.6806, allocations: 4 kB / 0.5537 GB, free: 4.836 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6806, allocations: 64 / 0.5537 GB, free: 4.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.663e-05/0.6807, allocations: 37.69 kB / 0.5538 GB, free: 4.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.6807, allocations: 33.7 kB / 0.5538 GB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.6808, allocations: 3.938 kB / 0.5538 GB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.6808, allocations: 0 / 0.5538 GB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.6808, allocations: 3.938 kB / 0.5538 GB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.6808, allocations: 0.7031 kB / 0.5538 GB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.187e-05/0.6808, allocations: 0 / 0.5538 GB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.6808, allocations: 0 / 0.5538 GB, free: 4.746 MB / 362.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 5.96e-05/0.6809, allocations: 142.1 kB / 0.5539 GB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.426e-05/0.681, allocations: 37.69 kB / 0.554 GB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-06/0.681, allocations: 0 / 0.554 GB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.227e-05/0.681, allocations: 3.75 kB / 0.554 GB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.681, allocations: 4 kB / 0.554 GB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.681, allocations: 0 / 0.554 GB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.681, allocations: 0 / 0.554 GB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.959e-05/0.6811, allocations: 130.2 kB / 0.5541 GB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6811, allocations: 0.8125 kB / 0.5541 GB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.6811, allocations: 0 / 0.5541 GB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.6811, allocations: 0 / 0.5541 GB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.6811, allocations: 8.031 kB / 0.5541 GB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.6811, allocations: 0 / 0.5541 GB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6811, allocations: 4 kB / 0.5541 GB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.066e-05/0.6812, allocations: 69.08 kB / 0.5542 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.6812, allocations: 77.11 kB / 0.5543 GB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.6813, allocations: 4 kB / 0.5543 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-06/0.6813, allocations: 0 / 0.5543 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.6813, allocations: 4.031 kB / 0.5543 GB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.6813, allocations: 0 / 0.5543 GB, free: 4.184 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.001e-05/0.6813, allocations: 78.78 kB / 0.5543 GB, free: 4.109 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6813, allocations: 0 / 0.5543 GB, free: 4.109 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003158/0.6817, allocations: 79.86 kB / 0.5544 GB, free: 4.031 MB / 362.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.0006428/0.6823, allocations: 0.7183 MB / 0.5551 GB, free: 3.305 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.556e-05/0.6824, allocations: 62.72 kB / 0.5552 GB, free: 3.234 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.6824, allocations: 0 / 0.5552 GB, free: 3.234 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.161e-05/0.6824, allocations: 55.41 kB / 0.5552 GB, free: 3.168 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.683e-05/0.6825, allocations: 0 / 0.5552 GB, free: 3.168 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.6828, allocations: 113.6 kB / 0.5553 GB, free: 3.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.6829, allocations: 0.6806 MB / 0.556 GB, free: 2.312 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.091e-06/0.683, allocations: 0 / 0.556 GB, free: 2.312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.371e-05/0.683, allocations: 7.438 kB / 0.556 GB, free: 2.305 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.683, allocations: 4.125 kB / 0.556 GB, free: 2.301 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.7061, allocations: 1.741 MB / 0.5577 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/0.7064, allocations: 160 kB / 0.5579 GB, free: 372 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.295, allocations: 0 / 0.5579 GB, free: 372 kB / 362.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat does not exist to compare? outputFormat=mat