Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.3 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008236/0.0008236, allocations: 94.27 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.326e-05/2.335e-05, allocations: 4 kB / 343.9 MB, free: 4.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09029/0.09032, allocations: 50.42 MB / 394.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2902/0.3806, allocations: 79.04 MB / 473.4 MB, free: 8.301 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.3809, allocations: 73.7 kB / 473.5 MB, free: 8.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01237/0.3933, allocations: 4.514 MB / 478 MB, free: 3.711 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3933, allocations: 0 / 478 MB, free: 3.711 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.3933, allocations: 8 kB / 478 MB, free: 3.703 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0007577/0.3941, allocations: 0.5266 MB / 478.5 MB, free: 3.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.3942, allocations: 8.031 kB / 478.5 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.653e-05/0.3942, allocations: 58.55 kB / 478.6 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.434e-05/0.3943, allocations: 27.72 kB / 478.6 MB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.3947, allocations: 251.1 kB / 478.9 MB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.3947, allocations: 20.56 kB / 478.9 MB, free: 2.727 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.3948, allocations: 24 kB / 478.9 MB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.3952, allocations: 268 kB / 479.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3952, allocations: 0 / 479.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.3953, allocations: 8 kB / 479.2 MB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.3953, allocations: 11.98 kB / 479.2 MB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.3956, allocations: 166.2 kB / 479.3 MB, free: 2.246 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.3973, allocations: 1.027 MB / 480.4 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.3976, allocations: 159.4 kB / 480.5 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.398, allocations: 136.8 kB / 480.7 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.398, allocations: 7.953 kB / 480.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.398, allocations: 34.56 kB / 480.7 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.398, allocations: 4 kB / 480.7 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006547/0.3987, allocations: 243.9 kB / 480.9 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.3988, allocations: 51.41 kB / 481 MB, free: 488 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.399, allocations: 204.8 kB / 481.2 MB, free: 280 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.399, allocations: 33.7 kB / 481.2 MB, free: 240 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.3991, allocations: 175.9 kB / 481.4 MB, free: 56 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.3992, allocations: 67.08 kB / 481.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.3992, allocations: 4 kB / 481.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3994, allocations: 326.8 kB / 481.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.3995, allocations: 52 kB / 481.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.3996, allocations: 115 kB / 482 MB, free: 15.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.3997, allocations: 67.91 kB / 482 MB, free: 15.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3997, allocations: 0 / 482 MB, free: 15.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006287/0.4004, allocations: 317 kB / 482.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4004, allocations: 4 kB / 482.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4004, allocations: 4 kB / 482.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/0.4006, allocations: 52.81 kB / 482.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.4009, allocations: 47.97 kB / 482.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.403, allocations: 1.764 MB / 484.2 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.4032, allocations: 39.66 kB / 484.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.4033, allocations: 8 kB / 484.2 MB, free: 13.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 8.485e-05/0.4033, allocations: 124.9 kB / 484.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.4034, allocations: 19.81 kB / 484.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.146e-05/0.4035, allocations: 25.91 kB / 484.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4035, allocations: 4 kB / 484.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.4035, allocations: 0 / 484.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4035, allocations: 3.984 kB / 484.4 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009303/0.4044, allocations: 0.6213 MB / 485 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4044, allocations: 0 / 485 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.4046, allocations: 27.98 kB / 485.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001524/0.4047, allocations: 56.83 kB / 485.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.4048, allocations: 4 kB / 485.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.4068, allocations: 1.764 MB / 486.9 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4068, allocations: 0 / 486.9 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.4075, allocations: 409.4 kB / 487.3 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-05/0.4076, allocations: 100.8 kB / 487.4 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.4076, allocations: 8.062 kB / 487.4 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.4078, allocations: 27.98 kB / 487.4 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.4079, allocations: 11.92 kB / 487.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.4079, allocations: 11.98 kB / 487.4 MB, free: 9.594 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001513/0.4081, allocations: 157.4 kB / 487.6 MB, free: 9.441 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4081, allocations: 4 kB / 487.6 MB, free: 9.438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004063/0.4085, allocations: 79.84 kB / 487.7 MB, free: 9.359 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00102/0.4095, allocations: 0.9365 MB / 488.6 MB, free: 8.391 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007777/0.4103, allocations: 342.7 kB / 489 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.4103, allocations: 8.125 kB / 489 MB, free: 8.035 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005367/0.4109, allocations: 266.4 kB / 489.2 MB, free: 7.762 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.4112, allocations: 38.16 kB / 489.3 MB, free: 7.719 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.4135, allocations: 0.7964 MB / 490.1 MB, free: 6.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.4138, allocations: 0.756 MB / 490.8 MB, free: 6.109 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.674e-05/0.4139, allocations: 26.06 kB / 490.8 MB, free: 6.086 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.414, allocations: 67.42 kB / 490.9 MB, free: 6.023 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.414, allocations: 0 / 490.9 MB, free: 6.023 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.4301, allocations: 4.791 MB / 495.7 MB, free: 1.402 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/0.4304, allocations: 189.3 kB / 495.9 MB, free: 1.176 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.104, allocations: 0 / 495.9 MB, free: 1.176 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --timeout=50 --tolerance=0.0001 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat does not exist to compare? outputFormat=mat