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.00115/0.00115, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 227.2 MB / 245 MB, free: 7.664 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007948/0.0007946, allocations: 95.22 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000203/0.000203, allocations: 8 kB / 358 MB, free: 9.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1849, allocations: 51.48 MB / 409.5 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08442/0.2694, allocations: 78.73 MB / 488.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.2696, allocations: 63.97 kB / 488.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008497/0.2781, allocations: 3.312 MB / 491.6 MB, free: 8.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.2782, allocations: 4 kB / 491.6 MB, free: 8.516 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.2782, allocations: 7.938 kB / 491.6 MB, free: 8.508 MB / 362.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.0006208/0.2788, allocations: 474.7 kB / 492.1 MB, free: 7.996 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2789, allocations: 8.031 kB / 492.1 MB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.909e-05/0.2789, allocations: 58.55 kB / 492.1 MB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.279, allocations: 15.81 kB / 492.2 MB, free: 7.906 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.2792, allocations: 218.7 kB / 492.4 MB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.2792, allocations: 19.94 kB / 492.4 MB, free: 7.633 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.2792, allocations: 16 kB / 492.4 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.2796, allocations: 189.4 kB / 492.6 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.2796, allocations: 0 / 492.6 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.2796, allocations: 8 kB / 492.6 MB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2796, allocations: 8 kB / 492.6 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002974/0.2799, allocations: 147.9 kB / 492.8 MB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.2811, allocations: 0.7547 MB / 493.5 MB, free: 6.441 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.2814, allocations: 174.5 kB / 493.7 MB, free: 6.262 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.2815, allocations: 0 / 493.7 MB, free: 6.262 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.2815, allocations: 42.56 kB / 493.7 MB, free: 6.211 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.2815, allocations: 0 / 493.7 MB, free: 6.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004245/0.2819, allocations: 193.3 kB / 493.9 MB, free: 6.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.282, allocations: 55.34 kB / 494 MB, free: 5.953 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.2821, allocations: 152.4 kB / 494.1 MB, free: 5.797 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.2821, allocations: 25.7 kB / 494.1 MB, free: 5.766 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.2822, allocations: 148 kB / 494.3 MB, free: 5.617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.2822, allocations: 43.36 kB / 494.3 MB, free: 5.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.2822, allocations: 0 / 494.3 MB, free: 5.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.347e-05/0.2823, allocations: 330.8 kB / 494.6 MB, free: 5.242 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.2825, allocations: 55.97 kB / 494.7 MB, free: 5.188 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.2827, allocations: 75.73 kB / 494.8 MB, free: 5.109 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.2828, allocations: 56 kB / 494.8 MB, free: 5.055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2828, allocations: 0 / 494.8 MB, free: 5.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003181/0.2831, allocations: 186.2 kB / 495 MB, free: 4.867 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2831, allocations: 10.81 kB / 495 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2832, allocations: 0 / 495 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2832, allocations: 3.953 kB / 495 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.2834, allocations: 47.97 kB / 495.1 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2834, allocations: 0 / 495.1 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.2835, allocations: 19.88 kB / 495.1 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.2835, allocations: 8 kB / 495.1 MB, free: 4.781 MB / 362.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 9.271e-05/0.2836, allocations: 129.8 kB / 495.2 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.2837, allocations: 11.81 kB / 495.2 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.2837, allocations: 16.84 kB / 495.3 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.2837, allocations: 0 / 495.3 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.2837, allocations: 3.953 kB / 495.3 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2837, allocations: 0 / 495.3 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.284, allocations: 273.5 kB / 495.5 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.284, allocations: 0 / 495.5 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.2842, allocations: 35.97 kB / 495.6 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2842, allocations: 4 kB / 495.6 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.2843, allocations: 4 kB / 495.6 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2843, allocations: 0 / 495.6 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2843, allocations: 0 / 495.6 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.2847, allocations: 315.2 kB / 495.9 MB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.2848, allocations: 92.98 kB / 496 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.2848, allocations: 4 kB / 496 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.2849, allocations: 19.98 kB / 496 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.285, allocations: 7.984 kB / 496 MB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.285, allocations: 4 kB / 496 MB, free: 3.781 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.32e-05/0.2851, allocations: 118.8 kB / 496.1 MB, free: 3.668 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2851, allocations: 0 / 496.1 MB, free: 3.668 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002563/0.2853, allocations: 51.84 kB / 496.2 MB, free: 3.617 MB / 362.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.0006451/0.286, allocations: 0.8411 MB / 497 MB, free: 2.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.2863, allocations: 139.5 kB / 497.1 MB, free: 2.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2863, allocations: 3.938 kB / 497.2 MB, free: 2.613 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.2864, allocations: 67.91 kB / 497.2 MB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.2867, allocations: 28.05 kB / 497.2 MB, free: 2.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.2884, allocations: 1.336 MB / 498.6 MB, free: 1.129 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.2886, allocations: 0.7321 MB / 499.3 MB, free: 380 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.64e-05/0.2887, allocations: 9.422 kB / 499.3 MB, free: 368 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.2888, allocations: 51.42 kB / 499.4 MB, free: 316 kB / 362.7 MB Notification: Performance of SimCode: time 3.607e-06/0.2888, allocations: 0 / 499.4 MB, free: 316 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01238/0.3012, allocations: 2.936 MB / 0.4905 GB, free: 13.51 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.3014, allocations: 184.8 kB / 0.4907 GB, free: 13.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.479/1.781, allocations: 0 / 0.4907 GB, free: 13.26 MB / 378.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