Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.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) 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(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",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.0009299/0.0009298, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 221.3 MB / 235.5 MB, free: 2.969 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.0008808/0.000881, allocations: 91.8 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.257e-05/2.26e-05, allocations: 4 kB / 343.9 MB, free: 4.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09182/0.09186, allocations: 50.42 MB / 394.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3161/0.408, allocations: 77.85 MB / 472.2 MB, free: 9.633 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.4082, allocations: 63.97 kB / 472.3 MB, free: 9.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008685/0.417, allocations: 3.262 MB / 475.5 MB, free: 6.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.417, allocations: 0 / 475.5 MB, free: 6.305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.417, allocations: 8 kB / 475.5 MB, free: 6.297 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005749/0.4176, allocations: 454.7 kB / 476 MB, free: 5.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4176, allocations: 12.03 kB / 476 MB, free: 5.797 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.146e-05/0.4177, allocations: 54.55 kB / 476 MB, free: 5.734 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.4178, allocations: 23.72 kB / 476.1 MB, free: 5.711 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.418, allocations: 202.9 kB / 476.3 MB, free: 5.473 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.418, allocations: 12 kB / 476.3 MB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.4181, allocations: 27.89 kB / 476.3 MB, free: 5.434 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.4184, allocations: 157.6 kB / 476.5 MB, free: 5.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4184, allocations: 0 / 476.5 MB, free: 5.273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.4184, allocations: 15.95 kB / 476.5 MB, free: 5.258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.4184, allocations: 4 kB / 476.5 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.4186, allocations: 119.9 kB / 476.6 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.4198, allocations: 0.7779 MB / 477.4 MB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.4201, allocations: 122.6 kB / 477.5 MB, free: 4.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.4202, allocations: 92.78 kB / 477.6 MB, free: 4.066 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.4203, allocations: 0 / 477.6 MB, free: 4.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.4203, allocations: 34.56 kB / 477.6 MB, free: 4.023 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.4203, allocations: 4 kB / 477.6 MB, free: 4.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002519/0.4206, allocations: 118.5 kB / 477.7 MB, free: 3.898 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.4206, allocations: 59.39 kB / 477.8 MB, free: 3.828 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.4207, allocations: 132.4 kB / 477.9 MB, free: 3.691 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.4208, allocations: 29.7 kB / 477.9 MB, free: 3.656 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.4208, allocations: 136.2 kB / 478.1 MB, free: 3.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.4209, allocations: 43.27 kB / 478.1 MB, free: 3.477 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.4209, allocations: 4 kB / 478.1 MB, free: 3.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.421, allocations: 326.8 kB / 478.4 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.931e-05/0.4211, allocations: 43.95 kB / 478.5 MB, free: 3.102 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.4212, allocations: 57.72 kB / 478.5 MB, free: 3.039 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.124e-05/0.4213, allocations: 45.39 kB / 478.6 MB, free: 2.996 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4213, allocations: 0 / 478.6 MB, free: 2.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000234/0.4215, allocations: 155 kB / 478.7 MB, free: 2.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.4215, allocations: 8 kB / 478.7 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4216, allocations: 0 / 478.7 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.4216, allocations: 4.031 kB / 478.8 MB, free: 2.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.4218, allocations: 51.91 kB / 478.8 MB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.4218, allocations: 0 / 478.8 MB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.4219, allocations: 19.78 kB / 478.8 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.4219, allocations: 7.984 kB / 478.8 MB, free: 2.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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 7.552e-05/0.422, allocations: 117.4 kB / 478.9 MB, free: 2.629 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.4221, allocations: 11.91 kB / 479 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.4221, allocations: 20.75 kB / 479 MB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4221, allocations: 0 / 479 MB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4221, allocations: 4 kB / 479 MB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4221, allocations: 0 / 479 MB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.4224, allocations: 269.3 kB / 479.2 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4224, allocations: 3.938 kB / 479.2 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.4226, allocations: 43.97 kB / 479.3 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4227, allocations: 0 / 479.3 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.4227, allocations: 4 kB / 479.3 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4227, allocations: 7.984 kB / 479.3 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4227, allocations: 0 / 479.3 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.423, allocations: 275.3 kB / 479.6 MB, free: 1.945 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.4231, allocations: 93.05 kB / 479.7 MB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.4231, allocations: 3.938 kB / 479.7 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.4233, allocations: 20 kB / 479.7 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.4233, allocations: 7.984 kB / 479.7 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.4234, allocations: 7.938 kB / 479.7 MB, free: 1.797 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.759e-05/0.4234, allocations: 115.2 kB / 479.8 MB, free: 1.688 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4234, allocations: 0 / 479.8 MB, free: 1.688 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.4237, allocations: 47.84 kB / 479.9 MB, free: 1.641 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0006064/0.4243, allocations: 0.8177 MB / 480.7 MB, free: 0.793 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.4245, allocations: 100 kB / 480.8 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4245, allocations: 0 / 480.8 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.457e-05/0.4246, allocations: 55.94 kB / 480.8 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.4249, allocations: 23.73 kB / 480.9 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008937/0.4258, allocations: 455.9 kB / 481.3 MB, free: 140 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.4261, allocations: 0.7282 MB / 482 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.901e-05/0.4261, allocations: 13.2 kB / 482 MB, free: 15.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.549e-05/0.4262, allocations: 51.42 kB / 482.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4262, allocations: 0 / 482.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.4407, allocations: 2.926 MB / 485 MB, free: 12.52 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/0.441, allocations: 149.9 kB / 485.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.458/1.899, allocations: 0 / 485.2 MB, free: 12.29 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat