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.0009513/0.0009513, allocations: 181.3 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.246/1.246, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008435/0.0008434, allocations: 92.09 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002619/0.0002619, allocations: 4 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2208, allocations: 47.57 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08334/0.3042, allocations: 76.39 MB / 452.3 MB, free: 4.266 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/0.3044, allocations: 75.94 kB / 452.4 MB, free: 4.191 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007759/0.3121, allocations: 3.108 MB / 455.5 MB, free: 1.074 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3122, allocations: 0 / 455.5 MB, free: 1.074 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.3122, allocations: 8 kB / 455.5 MB, free: 1.066 MB / 330.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.0006367/0.3129, allocations: 474.6 kB / 455.9 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3129, allocations: 8.031 kB / 456 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.239e-05/0.313, allocations: 58.55 kB / 456 MB, free: 492 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.313, allocations: 23.81 kB / 456 MB, free: 468 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.3132, allocations: 210.8 kB / 456.2 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.3133, allocations: 19.95 kB / 456.3 MB, free: 196 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.3133, allocations: 16 kB / 456.3 MB, free: 180 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.3136, allocations: 181.5 kB / 456.5 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3137, allocations: 0 / 456.5 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.3137, allocations: 11.92 kB / 456.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3137, allocations: 8 kB / 456.5 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.314, allocations: 147.9 kB / 456.6 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.3152, allocations: 0.7705 MB / 457.4 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.3155, allocations: 174.5 kB / 457.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.3156, allocations: 4 kB / 457.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.3156, allocations: 30.56 kB / 457.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.3156, allocations: 4 kB / 457.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004417/0.3161, allocations: 193.8 kB / 457.8 MB, free: 14.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.3161, allocations: 55.41 kB / 457.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.3162, allocations: 149.6 kB / 458 MB, free: 14.35 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.3163, allocations: 25.7 kB / 458 MB, free: 14.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/0.3164, allocations: 136.1 kB / 458.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.3164, allocations: 55.22 kB / 458.2 MB, free: 14.13 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.3164, allocations: 4 kB / 458.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3165, allocations: 322.8 kB / 458.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.3167, allocations: 55.97 kB / 458.6 MB, free: 13.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3168, allocations: 75.75 kB / 458.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.3169, allocations: 59.98 kB / 458.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3169, allocations: 0 / 458.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003208/0.3173, allocations: 188 kB / 458.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3173, allocations: 4 kB / 458.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.3173, allocations: 0 / 458.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3173, allocations: 3.953 kB / 458.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.3175, allocations: 43.98 kB / 458.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3176, allocations: 0 / 458.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.3177, allocations: 23.86 kB / 459 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.3177, allocations: 4 kB / 459 MB, free: 13.34 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 () * Number of clocked 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 0.0001109/0.3178, allocations: 129.8 kB / 459.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.3178, allocations: 15.81 kB / 459.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.3179, allocations: 16.83 kB / 459.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3179, allocations: 4 kB / 459.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3179, allocations: 3.953 kB / 459.1 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3179, allocations: 3.938 kB / 459.1 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.3182, allocations: 257.6 kB / 459.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3182, allocations: 4 kB / 459.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.3184, allocations: 35.98 kB / 459.4 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3184, allocations: 3.984 kB / 459.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.3185, allocations: 4 kB / 459.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3185, allocations: 0 / 459.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3185, allocations: 7.875 kB / 459.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/0.319, allocations: 317.4 kB / 459.8 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.437e-05/0.3191, allocations: 88.95 kB / 459.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.3191, allocations: 8.031 kB / 459.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.3192, allocations: 20 kB / 459.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.3193, allocations: 7.984 kB / 459.9 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.3193, allocations: 4 kB / 459.9 MB, free: 12.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.327e-05/0.3194, allocations: 119.8 kB / 460 MB, free: 12.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3194, allocations: 0 / 460 MB, free: 12.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002723/0.3197, allocations: 47.84 kB / 460 MB, free: 12.18 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 () * Number of clocked 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.0007667/0.3205, allocations: 0.8484 MB / 460.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002953/0.3208, allocations: 135.4 kB / 461 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3208, allocations: 0 / 461 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.3209, allocations: 67.91 kB / 461.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.3212, allocations: 30.23 kB / 461.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.323, allocations: 1.34 MB / 462.5 MB, free: 9.695 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.3233, allocations: 0.7282 MB / 463.2 MB, free: 8.941 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.242e-05/0.3234, allocations: 9.438 kB / 463.2 MB, free: 8.926 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.3235, allocations: 55.41 kB / 463.3 MB, free: 8.875 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3235, allocations: 0 / 463.3 MB, free: 8.875 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.3367, allocations: 2.929 MB / 466.2 MB, free: 5.969 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.337, allocations: 185.5 kB / 466.4 MB, free: 5.719 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/1.91, allocations: 0 / 466.4 MB, free: 5.719 MB / 346.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