Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.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: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 171.8 kB / 8.738 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 221.5 MB / 230.7 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008943/0.0008942, allocations: 90.23 kB / 281.6 MB, free: 5.277 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.2171/0.2171, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.83e-05/1.834e-05, allocations: 224 / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1539, allocations: 61.92 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5019/0.6559, allocations: 88.65 MB / 0.5813 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.6561, allocations: 63.97 kB / 0.5814 GB, free: 7.633 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0398/0.6959, allocations: 13.01 MB / 0.5941 GB, free: 10.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.696, allocations: 0 / 0.5941 GB, free: 10.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.696, allocations: 0 / 0.5941 GB, free: 10.62 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006799/0.6967, allocations: 450.2 kB / 0.5945 GB, free: 10.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.6967, allocations: 11.98 kB / 0.5945 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.6968, allocations: 79.28 kB / 0.5946 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.697, allocations: 238.3 kB / 0.5949 GB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-05/0.697, allocations: 154.5 kB / 0.595 GB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.6971, allocations: 158.5 kB / 0.5951 GB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.9e-05/0.6972, allocations: 158.6 kB / 0.5953 GB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.161e-05/0.6972, allocations: 101 kB / 0.5954 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.6973, allocations: 75.28 kB / 0.5955 GB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.315e-05/0.6974, allocations: 154.6 kB / 0.5956 GB, free: 8.973 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.206e-05/0.6974, allocations: 154.6 kB / 0.5958 GB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.6977, allocations: 422.5 kB / 0.5962 GB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.717e-05/0.6978, allocations: 173.1 kB / 0.5963 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.148e-05/0.6978, allocations: 80.14 kB / 0.5964 GB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.6979, allocations: 75.28 kB / 0.5965 GB, free: 8.035 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.464e-05/0.698, allocations: 147.5 kB / 0.5966 GB, free: 7.875 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.031e-06/0.698, allocations: 0 / 0.5966 GB, free: 7.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.203e-05/0.6981, allocations: 29.66 kB / 0.5966 GB, free: 7.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.6981, allocations: 77.11 kB / 0.5967 GB, free: 7.746 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.168e-05/0.6981, allocations: 85 kB / 0.5968 GB, free: 7.656 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.6982, allocations: 29.7 kB / 0.5968 GB, free: 7.621 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.6982, allocations: 84.92 kB / 0.5969 GB, free: 7.535 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.232e-06/0.6982, allocations: 0 / 0.5969 GB, free: 7.535 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-07/0.6982, allocations: 0 / 0.5969 GB, free: 7.535 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.6984, allocations: 314.8 kB / 0.5972 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-06/0.6984, allocations: 0 / 0.5972 GB, free: 7.219 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.147e-05/0.6984, allocations: 4 kB / 0.5972 GB, free: 7.215 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.736e-05/0.6985, allocations: 79.28 kB / 0.5973 GB, free: 7.137 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.152e-05/0.6985, allocations: 75.28 kB / 0.5974 GB, free: 7.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.152e-05/0.6985, allocations: 25.7 kB / 0.5974 GB, free: 7.031 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/0.6986, allocations: 91.2 kB / 0.5975 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/0.6986, allocations: 79.22 kB / 0.5976 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.631e-05/0.6987, allocations: 154.6 kB / 0.5977 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.583e-05/0.6987, allocations: 75.28 kB / 0.5978 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-05/0.6988, allocations: 162.5 kB / 0.5979 GB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.01e-05/0.6989, allocations: 75.28 kB / 0.598 GB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.6989, allocations: 75.28 kB / 0.5981 GB, free: 6.328 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: 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.000146/0.6991, allocations: 259.5 kB / 0.5983 GB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.52e-05/0.6991, allocations: 142.6 kB / 0.5985 GB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.6992, allocations: 101 kB / 0.5985 GB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.558e-05/0.6993, allocations: 116.4 kB / 0.5987 GB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.002e-05/0.6993, allocations: 180.2 kB / 0.5988 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-05/0.6994, allocations: 189.7 kB / 0.599 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.874e-05/0.6995, allocations: 184.2 kB / 0.5992 GB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.6997, allocations: 373.8 kB / 0.5995 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.112e-05/0.6998, allocations: 101 kB / 0.5996 GB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.6998, allocations: 112.9 kB / 0.5997 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.971e-05/0.6999, allocations: 180.3 kB / 0.5999 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-05/0.7, allocations: 180.3 kB / 0.6001 GB, free: 4.129 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.925e-05/0.7, allocations: 180.2 kB / 0.6003 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.027e-05/0.7001, allocations: 184.2 kB / 0.6004 GB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.7003, allocations: 303.8 kB / 0.6007 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.256e-05/0.7004, allocations: 182.5 kB / 0.6009 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.917e-05/0.7004, allocations: 180.3 kB / 0.6011 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.965e-05/0.7005, allocations: 108.9 kB / 0.6012 GB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.7006, allocations: 180.3 kB / 0.6014 GB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/0.7007, allocations: 109 kB / 0.6015 GB, free: 2.641 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.632e-05/0.7007, allocations: 75.28 kB / 0.6015 GB, free: 2.566 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7007, allocations: 0 / 0.6015 GB, free: 2.566 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008177/0.7015, allocations: 171.7 kB / 0.6017 GB, free: 2.398 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: 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.001323/0.7029, allocations: 1.092 MB / 0.6028 GB, free: 1.289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.735e-05/0.7029, allocations: 0 / 0.6028 GB, free: 1.289 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/0.703, allocations: 4 kB / 0.6028 GB, free: 1.285 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.025e-05/0.703, allocations: 7.922 kB / 0.6028 GB, free: 1.277 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.7034, allocations: 0.5237 MB / 0.6033 GB, free: 0.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.7039, allocations: 232.7 kB / 0.6035 GB, free: 496 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.7043, allocations: 0.6729 MB / 0.6042 GB, free: 15.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.675e-06/0.7044, allocations: 0 / 0.6042 GB, free: 15.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.7044, allocations: 7.438 kB / 0.6042 GB, free: 15.78 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7044, allocations: 0 / 0.6042 GB, free: 15.78 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.731, allocations: 3.32 MB / 0.6074 GB, free: 12.46 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003321/0.7314, allocations: 150.5 kB / 0.6076 GB, free: 12.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.385, allocations: 0 / 0.6076 GB, free: 12.27 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestNonlinear_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestNonlinear.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear_res.mat does not exist to compare? outputFormat=mat