Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001053, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009307/0.0009309, allocations: 88.28 kB / 292.1 MB, free: 5.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.331e-05/3.34e-05, allocations: 4 kB / 350.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2981/0.4009, allocations: 78.68 MB / 480.8 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001595/0.4011, allocations: 70.23 kB / 480.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007314/0.4084, allocations: 3.303 MB / 484.2 MB, free: 7.957 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4085, allocations: 3.938 kB / 484.2 MB, free: 7.953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.4085, allocations: 8 kB / 484.2 MB, free: 7.945 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.0004876/0.409, allocations: 456.4 kB / 484.6 MB, free: 7.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.409, allocations: 12.02 kB / 484.6 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.4091, allocations: 57.42 kB / 484.7 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.4091, allocations: 19.72 kB / 484.7 MB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.4093, allocations: 214.7 kB / 484.9 MB, free: 7.152 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.4093, allocations: 15.25 kB / 484.9 MB, free: 7.145 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.4094, allocations: 19.23 kB / 485 MB, free: 7.133 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.4096, allocations: 166.4 kB / 485.1 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.4096, allocations: 0 / 485.1 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.4096, allocations: 6.625 kB / 485.1 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.4096, allocations: 8 kB / 485.1 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.4098, allocations: 115.8 kB / 485.2 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009477/0.4108, allocations: 0.769 MB / 486 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.411, allocations: 130.2 kB / 486.1 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.4111, allocations: 84.8 kB / 486.2 MB, free: 6.078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.4112, allocations: 0 / 486.2 MB, free: 6.078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.4112, allocations: 45.81 kB / 486.3 MB, free: 6.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.113e-06/0.4112, allocations: 0 / 486.3 MB, free: 6.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002327/0.4114, allocations: 119.9 kB / 486.4 MB, free: 5.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.4115, allocations: 59.36 kB / 486.4 MB, free: 5.859 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.479e-05/0.4116, allocations: 134.3 kB / 486.6 MB, free: 5.734 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.4116, allocations: 29.14 kB / 486.6 MB, free: 5.703 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.4116, allocations: 136.5 kB / 486.7 MB, free: 5.578 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.4117, allocations: 50.42 kB / 486.8 MB, free: 5.535 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.4117, allocations: 0 / 486.8 MB, free: 5.535 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.568e-05/0.4117, allocations: 330 kB / 487.1 MB, free: 5.211 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.4118, allocations: 38.56 kB / 487.1 MB, free: 5.188 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.4119, allocations: 63.72 kB / 487.2 MB, free: 5.141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.387e-05/0.412, allocations: 50.05 kB / 487.3 MB, free: 5.109 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.412, allocations: 0 / 487.3 MB, free: 5.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001871/0.4122, allocations: 151.1 kB / 487.4 MB, free: 4.992 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4122, allocations: 4 kB / 487.4 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4122, allocations: 0 / 487.4 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4122, allocations: 11.98 kB / 487.4 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.4124, allocations: 47.55 kB / 487.5 MB, free: 4.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4124, allocations: 8.531 kB / 487.5 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.4126, allocations: 16.59 kB / 487.5 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.4126, allocations: 4 kB / 487.5 MB, free: 4.906 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 6.32e-05/0.4127, allocations: 110.8 kB / 487.6 MB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.4127, allocations: 27.73 kB / 487.6 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.4128, allocations: 15.92 kB / 487.6 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4128, allocations: 7.953 kB / 487.7 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4128, allocations: 0 / 487.7 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4128, allocations: 0 / 487.7 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.413, allocations: 263.5 kB / 487.9 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.413, allocations: 0 / 487.9 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.4132, allocations: 35.98 kB / 487.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4132, allocations: 3.984 kB / 487.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.4132, allocations: 3.625 kB / 488 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4132, allocations: 8 kB / 488 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4132, allocations: 3.953 kB / 488 MB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.4135, allocations: 270.1 kB / 488.2 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.4135, allocations: 88.95 kB / 488.3 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.4136, allocations: 3.562 kB / 488.3 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.4137, allocations: 20.03 kB / 488.3 MB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.4138, allocations: 11.67 kB / 488.3 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.4138, allocations: 3.953 kB / 488.4 MB, free: 4.074 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.382e-05/0.4138, allocations: 117.1 kB / 488.5 MB, free: 3.973 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4138, allocations: 0 / 488.5 MB, free: 3.973 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002315/0.4141, allocations: 47.59 kB / 488.5 MB, free: 3.93 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.0004043/0.4145, allocations: 0.8084 MB / 489.3 MB, free: 3.145 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.4147, allocations: 106.5 kB / 489.4 MB, free: 3.074 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4147, allocations: 0 / 489.4 MB, free: 3.074 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.594e-05/0.4148, allocations: 51.38 kB / 489.5 MB, free: 3.039 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.415, allocations: 22.05 kB / 489.5 MB, free: 3.027 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000808/0.4158, allocations: 456.6 kB / 489.9 MB, free: 2.586 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.4159, allocations: 0.7281 MB / 490.7 MB, free: 1.832 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.645e-05/0.416, allocations: 17.2 kB / 490.7 MB, free: 1.816 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.991e-05/0.4161, allocations: 48.05 kB / 490.7 MB, free: 1.797 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4161, allocations: 0 / 490.7 MB, free: 1.797 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01271/0.4288, allocations: 2.917 MB / 493.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.429, allocations: 150.5 kB / 493.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/1.952, allocations: 3.938 kB / 493.8 MB, free: 14.88 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat