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.001587/0.001587, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007788/0.0007788, allocations: 96.27 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.188e-05/2.19e-05, allocations: 4 kB / 343.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 51.48 MB / 395.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2999/0.4046, allocations: 78 MB / 473.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.405, allocations: 70.12 kB / 473.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008178/0.4132, allocations: 3.277 MB / 476.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.4133, allocations: 0 / 476.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.4133, allocations: 7.984 kB / 476.6 MB, free: 11.7 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.0004851/0.4138, allocations: 460.7 kB / 477.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4138, allocations: 8.031 kB / 477.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.4139, allocations: 19.72 kB / 477.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.4141, allocations: 213.4 kB / 477.3 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.4141, allocations: 11.98 kB / 477.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.4142, allocations: 16.91 kB / 477.3 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001857/0.4143, allocations: 110.2 kB / 477.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.4146, allocations: 139.4 kB / 477.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4146, allocations: 0 / 477.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.4146, allocations: 0 / 477.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4146, allocations: 4 kB / 477.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009823/0.4156, allocations: 0.7143 MB / 478.3 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.4158, allocations: 128.8 kB / 478.4 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.4159, allocations: 77.2 kB / 478.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.416, allocations: 0 / 478.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.416, allocations: 38.5 kB / 478.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.416, allocations: 0 / 478.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002255/0.4162, allocations: 112.7 kB / 478.6 MB, free: 9.992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.649e-05/0.4163, allocations: 56.77 kB / 478.7 MB, free: 9.926 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.048e-05/0.4163, allocations: 129.1 kB / 478.8 MB, free: 9.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.4164, allocations: 31.06 kB / 478.9 MB, free: 9.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.4164, allocations: 141.6 kB / 479 MB, free: 9.648 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.4164, allocations: 47.83 kB / 479 MB, free: 9.613 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.4165, allocations: 0 / 479 MB, free: 9.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.4165, allocations: 321.4 kB / 479.4 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.4166, allocations: 37.44 kB / 479.4 MB, free: 9.277 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.249e-05/0.4166, allocations: 58.8 kB / 479.5 MB, free: 9.234 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.643e-05/0.4167, allocations: 47.2 kB / 479.5 MB, free: 9.211 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4167, allocations: 0 / 479.5 MB, free: 9.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001745/0.4169, allocations: 139.3 kB / 479.6 MB, free: 9.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.4169, allocations: 5.312 kB / 479.6 MB, free: 9.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4169, allocations: 0 / 479.6 MB, free: 9.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.4169, allocations: 4 kB / 479.6 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.4172, allocations: 50.06 kB / 479.7 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4172, allocations: 4 kB / 479.7 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.4173, allocations: 21.08 kB / 479.7 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.4173, allocations: 4 kB / 479.7 MB, free: 9.031 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.923e-05/0.4174, allocations: 113.5 kB / 479.8 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001574/0.4176, allocations: 109.5 kB / 479.9 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.4176, allocations: 17.27 kB / 480 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.4177, allocations: 15.58 kB / 480 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4177, allocations: 5.312 kB / 480 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4177, allocations: 0 / 480 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4177, allocations: 0 / 480 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.4179, allocations: 223.2 kB / 480.2 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4179, allocations: 0 / 480.2 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.4181, allocations: 41.92 kB / 480.2 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4181, allocations: 1.781 kB / 480.2 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4181, allocations: 0 / 480.2 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.4182, allocations: 0 / 480.2 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4182, allocations: 7.891 kB / 480.2 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.4184, allocations: 265.7 kB / 480.5 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.4185, allocations: 86.27 kB / 480.6 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.4185, allocations: 5.312 kB / 480.6 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.4186, allocations: 10.25 kB / 480.6 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.4187, allocations: 12.17 kB / 480.6 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.4187, allocations: 7.938 kB / 480.6 MB, free: 8.223 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.967e-05/0.4188, allocations: 107.6 kB / 480.7 MB, free: 8.133 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4188, allocations: 4 kB / 480.7 MB, free: 8.129 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.419, allocations: 43.84 kB / 480.8 MB, free: 8.086 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.000425/0.4195, allocations: 0.7925 MB / 481.6 MB, free: 7.324 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.4196, allocations: 93.44 kB / 481.7 MB, free: 7.262 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4196, allocations: 4.062 kB / 481.7 MB, free: 7.258 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/0.4197, allocations: 49.48 kB / 481.7 MB, free: 7.227 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.42, allocations: 24.86 kB / 481.7 MB, free: 7.211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.421, allocations: 446.3 kB / 482.2 MB, free: 6.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.4213, allocations: 0.731 MB / 482.9 MB, free: 6.086 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.584e-05/0.4214, allocations: 12.64 kB / 482.9 MB, free: 6.074 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.767e-05/0.4214, allocations: 48.17 kB / 483 MB, free: 6.059 MB / 346.7 MB Notification: Performance of SimCode: time 9.21e-07/0.4214, allocations: 0 / 483 MB, free: 6.059 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.4423, allocations: 2.439 MB / 485.4 MB, free: 3.957 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/0.4425, allocations: 137.4 kB / 485.5 MB, free: 3.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.024, allocations: 0 / 485.5 MB, free: 3.77 MB / 346.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