Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",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.001925/0.001926, allocations: 183 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.938/1.938, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001267/0.001267, allocations: 78.62 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.5091/0.5091, allocations: 43.47 MB / 358.6 MB, free: 52.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.217e-05, allocations: 4 kB / 425.4 MB, free: 8.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1454, allocations: 58.84 MB / 484.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4857/0.6312, allocations: 88.6 MB / 0.5594 GB, free: 356 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001698/0.6314, allocations: 61.75 kB / 0.5595 GB, free: 296 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07475/0.7061, allocations: 25.7 MB / 0.5846 GB, free: 6.605 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.7062, allocations: 0 / 0.5846 GB, free: 6.605 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.7062, allocations: 4 kB / 0.5846 GB, free: 6.602 MB / 410.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.0008813/0.7071, allocations: 443.4 kB / 0.585 GB, free: 6.121 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/0.7072, allocations: 8.031 kB / 0.585 GB, free: 6.113 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.142e-05/0.7072, allocations: 30.56 kB / 0.585 GB, free: 6.074 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.7073, allocations: 4 kB / 0.585 GB, free: 6.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.7074, allocations: 159.1 kB / 0.5852 GB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.7074, allocations: 4 kB / 0.5852 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.7075, allocations: 0 / 0.5852 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.887e-05/0.7076, allocations: 27.08 kB / 0.5852 GB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.7076, allocations: 4 kB / 0.5852 GB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-06/0.7076, allocations: 0 / 0.5852 GB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.7076, allocations: 3.984 kB / 0.5852 GB, free: 5.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.614e-05/0.7076, allocations: 0 / 0.5852 GB, free: 5.832 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.7078, allocations: 157.6 kB / 0.5854 GB, free: 5.629 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.595e-05/0.7079, allocations: 18.61 kB / 0.5854 GB, free: 5.602 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.7079, allocations: 4.859 kB / 0.5854 GB, free: 5.594 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.7079, allocations: 0 / 0.5854 GB, free: 5.594 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.485e-05/0.708, allocations: 64.33 kB / 0.5855 GB, free: 5.516 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.708, allocations: 0 / 0.5855 GB, free: 5.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001987/0.7082, allocations: 68.11 kB / 0.5855 GB, free: 5.438 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.7083, allocations: 85.14 kB / 0.5856 GB, free: 5.336 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.892e-05/0.7083, allocations: 85 kB / 0.5857 GB, free: 5.246 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.7084, allocations: 25.7 kB / 0.5857 GB, free: 5.215 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.7084, allocations: 88.06 kB / 0.5858 GB, free: 5.125 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.7084, allocations: 1.719 kB / 0.5858 GB, free: 5.125 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-06/0.7084, allocations: 0 / 0.5858 GB, free: 5.125 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.7086, allocations: 314.8 kB / 0.5861 GB, free: 4.809 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/0.7086, allocations: 1.594 kB / 0.5861 GB, free: 4.809 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-06/0.7086, allocations: 8 kB / 0.5861 GB, free: 4.801 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/0.7086, allocations: 29.7 kB / 0.5861 GB, free: 4.766 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.7087, allocations: 3.984 kB / 0.5861 GB, free: 4.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.357e-05/0.7087, allocations: 59.41 kB / 0.5862 GB, free: 4.691 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/0.7088, allocations: 30.33 kB / 0.5862 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.7088, allocations: 0 / 0.5862 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.7088, allocations: 4 kB / 0.5862 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.836e-06/0.7088, allocations: 0 / 0.5862 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7088, allocations: 3.938 kB / 0.5862 GB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.543e-05/0.7089, allocations: 4.094 kB / 0.5862 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.7089, allocations: 0 / 0.5862 GB, free: 4.645 MB / 410.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 9.047e-05/0.709, allocations: 138.6 kB / 0.5864 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.709, allocations: 0 / 0.5864 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.345e-05/0.709, allocations: 3.125 kB / 0.5864 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.709, allocations: 3.984 kB / 0.5864 GB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.709, allocations: 0 / 0.5864 GB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.709, allocations: 2.062 kB / 0.5864 GB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.7091, allocations: 157.6 kB / 0.5865 GB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7092, allocations: 0 / 0.5865 GB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.7092, allocations: 4 kB / 0.5865 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7092, allocations: 0 / 0.5865 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.7092, allocations: 0 / 0.5865 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.7092, allocations: 0 / 0.5865 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7092, allocations: 0 / 0.5865 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.7093, allocations: 94.78 kB / 0.5866 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.7094, allocations: 77.11 kB / 0.5867 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.7094, allocations: 4 kB / 0.5867 GB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-06/0.7094, allocations: 7.969 kB / 0.5867 GB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.7095, allocations: 0 / 0.5867 GB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.7095, allocations: 0 / 0.5867 GB, free: 4.062 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.991e-05/0.7095, allocations: 75.28 kB / 0.5868 GB, free: 3.988 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7095, allocations: 3.938 kB / 0.5868 GB, free: 3.984 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006216/0.7101, allocations: 151.9 kB / 0.5869 GB, free: 3.836 MB / 410.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.001476/0.7116, allocations: 0.8748 MB / 0.5878 GB, free: 2.949 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.7117, allocations: 71.33 kB / 0.5878 GB, free: 2.867 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7118, allocations: 0 / 0.5878 GB, free: 2.867 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.384e-05/0.7118, allocations: 55.41 kB / 0.5879 GB, free: 2.801 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.28e-05/0.7119, allocations: 0 / 0.5879 GB, free: 2.801 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.7123, allocations: 135.1 kB / 0.588 GB, free: 2.633 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.7126, allocations: 0.677 MB / 0.5887 GB, free: 1.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.011e-06/0.7126, allocations: 3.938 kB / 0.5887 GB, free: 1.926 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.7126, allocations: 11.44 kB / 0.5887 GB, free: 1.914 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.7126, allocations: 0 / 0.5887 GB, free: 1.914 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.7345, allocations: 5.254 MB / 0.5938 GB, free: 12.72 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003189/0.7349, allocations: 172.7 kB / 0.594 GB, free: 12.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.518, allocations: 8 kB / 0.594 GB, free: 12.49 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_res.mat does not exist to compare? outputFormat=mat