Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009451/0.0009451, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007675/0.0007675, allocations: 82.72 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.938e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08737/0.0874, allocations: 47.59 MB / 363.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3022/0.3896, allocations: 75.89 MB / 439.1 MB, free: 3.449 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.3899, allocations: 72.89 kB / 439.1 MB, free: 3.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007625/0.3975, allocations: 3.067 MB / 442.2 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3975, allocations: 0 / 442.2 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.3976, allocations: 15.98 kB / 442.2 MB, free: 0.8203 MB / 314.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.0005186/0.3981, allocations: 457.5 kB / 442.7 MB, free: 352 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3981, allocations: 12.03 kB / 442.7 MB, free: 340 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.3982, allocations: 19.72 kB / 442.7 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.3984, allocations: 213.2 kB / 442.9 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.3984, allocations: 7.953 kB / 442.9 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.3985, allocations: 15.91 kB / 442.9 MB, free: 56 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002141/0.3987, allocations: 110 kB / 443 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.3989, allocations: 135 kB / 443.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.399, allocations: 4 kB / 443.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.399, allocations: 3.984 kB / 443.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.399, allocations: 4 kB / 443.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.4001, allocations: 0.7123 MB / 443.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.4003, allocations: 129.9 kB / 444 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.4004, allocations: 88.22 kB / 444.1 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.4004, allocations: 0 / 444.1 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.4005, allocations: 33.62 kB / 444.1 MB, free: 15.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.4005, allocations: 0 / 444.1 MB, free: 15.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002226/0.4007, allocations: 119.5 kB / 444.2 MB, free: 14.92 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.4007, allocations: 51.41 kB / 444.3 MB, free: 14.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.4009, allocations: 138 kB / 444.4 MB, free: 14.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.4009, allocations: 25.7 kB / 444.5 MB, free: 14.69 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.4009, allocations: 137.1 kB / 444.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.401, allocations: 45.3 kB / 444.6 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.401, allocations: 0 / 444.6 MB, free: 14.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.04e-05/0.4011, allocations: 322 kB / 445 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.943e-05/0.4012, allocations: 40.56 kB / 445 MB, free: 14.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.009e-05/0.4012, allocations: 62.52 kB / 445.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.772e-05/0.4013, allocations: 41.42 kB / 445.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4013, allocations: 0 / 445.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001926/0.4015, allocations: 135.5 kB / 445.2 MB, free: 14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.4015, allocations: 10.81 kB / 445.2 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4016, allocations: 0 / 445.2 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.4016, allocations: 0 / 445.2 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.4018, allocations: 59.02 kB / 445.3 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4018, allocations: 3 kB / 445.3 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-05/0.4019, allocations: 15.84 kB / 445.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.4019, allocations: 7.984 kB / 445.3 MB, free: 13.92 MB / 330.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.053e-05/0.402, allocations: 101 kB / 445.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001623/0.4022, allocations: 118.2 kB / 445.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.4022, allocations: 11.81 kB / 445.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.4023, allocations: 23.95 kB / 445.6 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4023, allocations: 0 / 445.6 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4023, allocations: 0 / 445.6 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4023, allocations: 0 / 445.6 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.4025, allocations: 225.9 kB / 445.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4025, allocations: 7.938 kB / 445.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.4027, allocations: 35.97 kB / 445.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4028, allocations: 0 / 445.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.4028, allocations: 4 kB / 445.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4028, allocations: 0 / 445.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4028, allocations: 7.953 kB / 445.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.4031, allocations: 268.2 kB / 446.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.4031, allocations: 89.05 kB / 446.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.4031, allocations: 0 / 446.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.4033, allocations: 12 kB / 446.2 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.4033, allocations: 19.62 kB / 446.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.4034, allocations: 4 kB / 446.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.746e-05/0.4034, allocations: 105.4 kB / 446.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4034, allocations: 0 / 446.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.4037, allocations: 43.84 kB / 446.4 MB, free: 12.9 MB / 330.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.0005186/0.4042, allocations: 0.7955 MB / 447.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.4044, allocations: 97.66 kB / 447.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4044, allocations: 0 / 447.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.988e-05/0.4045, allocations: 44.62 kB / 447.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.4047, allocations: 19.69 kB / 447.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008516/0.4056, allocations: 451.9 kB / 447.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.4058, allocations: 0.724 MB / 448.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.931e-05/0.4059, allocations: 13.2 kB / 448.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.406, allocations: 47.17 kB / 448.6 MB, free: 10.78 MB / 330.7 MB Notification: Performance of SimCode: time 2.414e-06/0.406, allocations: 0 / 448.6 MB, free: 10.78 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.4273, allocations: 2.442 MB / 451 MB, free: 8.336 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.4276, allocations: 144.8 kB / 451.1 MB, free: 8.137 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/1.958, allocations: 0 / 451.1 MB, free: 8.137 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat