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.001486/0.001486, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.469/1.469, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 95.8 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002598/0.0002598, allocations: 8 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2407, allocations: 50.4 MB / 401.6 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1059/0.3467, allocations: 79.11 MB / 480.7 MB, free: 1.371 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.347, allocations: 83.95 kB / 480.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01218/0.3592, allocations: 4.518 MB / 485.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3592, allocations: 4 kB / 485.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.138e-05/0.3592, allocations: 12 kB / 485.3 MB, free: 12.75 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008722/0.3601, allocations: 0.5343 MB / 485.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3602, allocations: 12.02 kB / 485.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.466e-05/0.3603, allocations: 62.48 kB / 485.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.523e-05/0.3603, allocations: 31.62 kB / 486 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.3607, allocations: 263.1 kB / 486.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.3608, allocations: 16.56 kB / 486.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.3608, allocations: 27.91 kB / 486.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005292/0.3614, allocations: 280 kB / 486.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3614, allocations: 0 / 486.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.3614, allocations: 8 kB / 486.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.3614, allocations: 4 kB / 486.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.3619, allocations: 218.1 kB / 486.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.3635, allocations: 1.015 MB / 487.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000479/0.364, allocations: 194.5 kB / 488 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.364, allocations: 0 / 488 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.3641, allocations: 42.45 kB / 488 MB, free: 9.859 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.3641, allocations: 4 kB / 488 MB, free: 9.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001746/0.3658, allocations: 0.6039 MB / 488.6 MB, free: 9.227 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3659, allocations: 55.41 kB / 488.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.3661, allocations: 212 kB / 488.9 MB, free: 8.945 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.3662, allocations: 29.7 kB / 488.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.3663, allocations: 179.8 kB / 489.1 MB, free: 8.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.3663, allocations: 55.2 kB / 489.1 MB, free: 8.676 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.3664, allocations: 4 kB / 489.1 MB, free: 8.672 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3665, allocations: 342.8 kB / 489.5 MB, free: 8.328 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.3667, allocations: 63.97 kB / 489.5 MB, free: 8.266 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.3669, allocations: 135 kB / 489.7 MB, free: 8.105 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.3671, allocations: 84.3 kB / 489.7 MB, free: 8.027 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3671, allocations: 0 / 489.7 MB, free: 8.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008246/0.3679, allocations: 372.8 kB / 490.1 MB, free: 7.656 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.368, allocations: 4 kB / 490.1 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.368, allocations: 11.97 kB / 490.1 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003589/0.3683, allocations: 84.75 kB / 490.2 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.3686, allocations: 47.92 kB / 490.2 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002697/0.3713, allocations: 1.89 MB / 492.1 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.3715, allocations: 31.73 kB / 492.2 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.3715, allocations: 12 kB / 492.2 MB, free: 5.441 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001579/0.3717, allocations: 138.3 kB / 492.3 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.3717, allocations: 23.67 kB / 492.3 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/0.3718, allocations: 22.19 kB / 492.4 MB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3718, allocations: 4.062 kB / 492.4 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.3718, allocations: 4 kB / 492.4 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3718, allocations: 3.984 kB / 492.4 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.3722, allocations: 297.5 kB / 492.7 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3722, allocations: 0 / 492.7 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.3723, allocations: 35.92 kB / 492.7 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002952/0.3726, allocations: 84.8 kB / 492.8 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3727, allocations: 0 / 492.8 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002276/0.375, allocations: 1.795 MB / 494.6 MB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.375, allocations: 3.938 kB / 494.6 MB, free: 2.844 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009229/0.3759, allocations: 470.9 kB / 495 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.114e-05/0.376, allocations: 100.8 kB / 495.1 MB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.376, allocations: 7.953 kB / 495.1 MB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.3762, allocations: 24.05 kB / 495.2 MB, free: 2.219 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.3763, allocations: 11.98 kB / 495.2 MB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.3763, allocations: 4 kB / 495.2 MB, free: 2.203 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001553/0.3765, allocations: 172.5 kB / 495.4 MB, free: 2.035 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3765, allocations: 3.938 kB / 495.4 MB, free: 2.031 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004377/0.3769, allocations: 71.84 kB / 495.4 MB, free: 1.961 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001248/0.3782, allocations: 1.016 MB / 496.4 MB, free: 0.918 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009258/0.3791, allocations: 382.5 kB / 496.8 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3791, allocations: 384 / 496.8 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.3794, allocations: 214.5 kB / 497 MB, free: 316 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3798, allocations: 28.66 kB / 497.1 MB, free: 284 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004463/0.3843, allocations: 3.025 MB / 0.4884 GB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.3847, allocations: 0.7638 MB / 0.4891 GB, free: 12.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.3848, allocations: 17.95 kB / 0.4891 GB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.3849, allocations: 75.41 kB / 0.4892 GB, free: 12.29 MB / 378.7 MB Notification: Performance of SimCode: time 8.91e-07/0.3849, allocations: 0 / 0.4892 GB, free: 12.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.403, allocations: 4.787 MB / 0.4939 GB, free: 7.699 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.4033, allocations: 219.2 kB / 0.4941 GB, free: 7.457 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.321, allocations: 0 / 0.4941 GB, free: 7.457 MB / 378.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