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.001318/0.001318, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 221.5 MB / 230.3 MB, free: 7.562 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.0008622/0.0008624, allocations: 85.86 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.881e-05/1.883e-05, allocations: 4 kB / 337.1 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09537/0.0954, allocations: 50.42 MB / 387.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2955/0.3909, allocations: 77.19 MB / 464.8 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.3912, allocations: 63.97 kB / 464.8 MB, free: 1.469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009227/0.4005, allocations: 3.229 MB / 468 MB, free: 14.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4005, allocations: 0 / 468 MB, free: 14.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.896e-05/0.4006, allocations: 4 kB / 468 MB, free: 14.23 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.0007297/0.4013, allocations: 462.8 kB / 468.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.4014, allocations: 8.031 kB / 468.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.4015, allocations: 23.72 kB / 468.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.4019, allocations: 206.8 kB / 468.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.4019, allocations: 8 kB / 468.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.402, allocations: 11.91 kB / 468.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002506/0.4022, allocations: 111.9 kB / 468.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.4025, allocations: 145.5 kB / 469 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.4025, allocations: 3.953 kB / 469 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.4026, allocations: 0 / 469 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.4026, allocations: 8 kB / 469 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.4038, allocations: 0.7091 MB / 469.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.4041, allocations: 122.6 kB / 469.8 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.4042, allocations: 77.11 kB / 469.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.4042, allocations: 4 kB / 469.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.4043, allocations: 49.98 kB / 470 MB, free: 12.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.926e-06/0.4043, allocations: 3.984 kB / 470 MB, free: 12.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002711/0.4046, allocations: 113.4 kB / 470.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.4046, allocations: 51.41 kB / 470.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.4047, allocations: 126.9 kB / 470.3 MB, free: 11.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.4047, allocations: 25.7 kB / 470.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.4048, allocations: 140.2 kB / 470.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.4049, allocations: 43.27 kB / 470.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/0.4049, allocations: 0 / 470.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.405, allocations: 326.8 kB / 470.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.26e-05/0.4051, allocations: 39.95 kB / 470.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.154e-05/0.4052, allocations: 57.7 kB / 470.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.346e-05/0.4052, allocations: 41.23 kB / 470.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4052, allocations: 4 kB / 470.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002117/0.4055, allocations: 142.8 kB / 471.1 MB, free: 11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4055, allocations: 4 kB / 471.1 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4055, allocations: 4.031 kB / 471.1 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4055, allocations: 4 kB / 471.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.4058, allocations: 39.92 kB / 471.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.4058, allocations: 7.984 kB / 471.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.4059, allocations: 15.83 kB / 471.1 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.4059, allocations: 11.94 kB / 471.1 MB, free: 10.91 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 9.822e-05/0.406, allocations: 111.3 kB / 471.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001993/0.4062, allocations: 127.4 kB / 471.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.4063, allocations: 11.91 kB / 471.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.4063, allocations: 8.75 kB / 471.4 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4063, allocations: 4 kB / 471.4 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4063, allocations: 0 / 471.4 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4064, allocations: 0 / 471.4 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.4067, allocations: 229.9 kB / 471.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4067, allocations: 0 / 471.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.4069, allocations: 39.97 kB / 471.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4069, allocations: 4 kB / 471.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.4069, allocations: 4 kB / 471.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.407, allocations: 0 / 471.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.407, allocations: 0 / 471.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.4073, allocations: 263.2 kB / 471.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.4074, allocations: 81.02 kB / 472 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.4074, allocations: 8.031 kB / 472 MB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.4076, allocations: 12 kB / 472 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.4077, allocations: 11.98 kB / 472 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.4077, allocations: 8 kB / 472.1 MB, free: 9.926 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.672e-05/0.4078, allocations: 103.3 kB / 472.2 MB, free: 9.824 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4078, allocations: 0 / 472.2 MB, free: 9.824 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002897/0.4081, allocations: 47.78 kB / 472.2 MB, free: 9.777 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.0006874/0.4088, allocations: 0.8014 MB / 473 MB, free: 8.953 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.409, allocations: 99.91 kB / 473.1 MB, free: 8.855 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.409, allocations: 0 / 473.1 MB, free: 8.855 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.764e-05/0.4091, allocations: 51.94 kB / 473.1 MB, free: 8.805 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.4094, allocations: 16.05 kB / 473.2 MB, free: 8.789 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.4105, allocations: 447.1 kB / 473.6 MB, free: 8.316 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.4108, allocations: 0.7279 MB / 474.3 MB, free: 7.562 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.396e-05/0.4109, allocations: 13.2 kB / 474.3 MB, free: 7.543 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.073e-05/0.411, allocations: 47.42 kB / 474.4 MB, free: 7.5 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.411, allocations: 0 / 474.4 MB, free: 7.5 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.4323, allocations: 2.443 MB / 476.8 MB, free: 5.078 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.4325, allocations: 134.5 kB / 477 MB, free: 4.887 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/1.924, allocations: 4 kB / 477 MB, free: 4.883 MB / 346.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