Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.OpAmps.LCOscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.0009892/0.0009891, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.407/1.407, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008189/0.0008187, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.847e-05/2.849e-05, allocations: 4 kB / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0806/0.08065, allocations: 47.57 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2804/0.3611, allocations: 77.76 MB / 447.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.3613, allocations: 72.89 kB / 448 MB, free: 15.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01123/0.3726, allocations: 4.412 MB / 452.4 MB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3726, allocations: 0.7656 kB / 452.4 MB, free: 11.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.3726, allocations: 8 kB / 452.4 MB, free: 11.73 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006643/0.3733, allocations: 0.5154 MB / 452.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3733, allocations: 12.03 kB / 452.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.602e-05/0.3734, allocations: 57.92 kB / 453 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.3735, allocations: 31.7 kB / 453 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.3738, allocations: 268.2 kB / 453.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3738, allocations: 15.56 kB / 453.3 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.3738, allocations: 23.06 kB / 453.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.3742, allocations: 218.3 kB / 453.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3742, allocations: 0 / 453.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.3742, allocations: 11.38 kB / 453.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3742, allocations: 12 kB / 453.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.3745, allocations: 179.7 kB / 453.7 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.3758, allocations: 0.9374 MB / 454.6 MB, free: 9.676 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.3762, allocations: 174.6 kB / 454.8 MB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.3765, allocations: 144.6 kB / 455 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.3765, allocations: 4 kB / 455 MB, free: 9.434 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.3765, allocations: 33.56 kB / 455 MB, free: 9.395 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.3765, allocations: 0 / 455 MB, free: 9.395 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.000478/0.377, allocations: 233.9 kB / 455.2 MB, free: 9.195 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.3771, allocations: 55.41 kB / 455.3 MB, free: 9.129 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.3773, allocations: 198.8 kB / 455.5 MB, free: 8.957 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3773, allocations: 32.95 kB / 455.5 MB, free: 8.922 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.028e-05/0.3774, allocations: 178.6 kB / 455.7 MB, free: 8.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.3774, allocations: 62.14 kB / 455.7 MB, free: 8.715 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-06/0.3775, allocations: 11.62 kB / 455.8 MB, free: 8.707 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3776, allocations: 333.4 kB / 456.1 MB, free: 8.383 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.3777, allocations: 48.62 kB / 456.1 MB, free: 8.352 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.3778, allocations: 105.5 kB / 456.2 MB, free: 8.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.3779, allocations: 65.97 kB / 456.3 MB, free: 8.207 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3779, allocations: 4 kB / 456.3 MB, free: 8.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004795/0.3784, allocations: 290.8 kB / 456.6 MB, free: 7.965 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002337/0.3786, allocations: 0.6206 MB / 457.2 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3786, allocations: 3.953 kB / 457.2 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/0.3789, allocations: 58.27 kB / 457.3 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.379, allocations: 39.98 kB / 457.3 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005795/0.3796, allocations: 0.6568 MB / 458 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.3798, allocations: 30.94 kB / 458 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.3798, allocations: 8 kB / 458 MB, free: 6.531 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/0.3798, allocations: 7.125 kB / 458 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003168/0.3802, allocations: 208.1 kB / 458.2 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3802, allocations: 4 kB / 458.2 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000103/0.3803, allocations: 49.03 kB / 458.3 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.3804, allocations: 43.92 kB / 458.3 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.3817, allocations: 1.601 MB / 459.9 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.3818, allocations: 15.84 kB / 459.9 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.3818, allocations: 12 kB / 459.9 MB, free: 4.504 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 7.302e-05/0.3819, allocations: 116.9 kB / 460 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.382, allocations: 27.78 kB / 460.1 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.382, allocations: 25.66 kB / 460.1 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.382, allocations: 3.984 kB / 460.1 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.382, allocations: 3.953 kB / 460.1 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3821, allocations: 0 / 460.1 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007868/0.3828, allocations: 0.6083 MB / 460.7 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3829, allocations: 0 / 460.7 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.383, allocations: 27.98 kB / 460.7 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001512/0.3832, allocations: 60.81 kB / 460.8 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.3832, allocations: 4 kB / 460.8 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/0.3846, allocations: 1.678 MB / 462.5 MB, free: 1.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3847, allocations: 0 / 462.5 MB, free: 1.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005343/0.3852, allocations: 384.1 kB / 462.9 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.028e-05/0.3853, allocations: 108.8 kB / 463 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.3853, allocations: 0 / 463 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.3855, allocations: 19.98 kB / 463 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.3855, allocations: 23.86 kB / 463 MB, free: 1.188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.3856, allocations: 16 kB / 463 MB, free: 1.172 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001427/0.3857, allocations: 157.9 kB / 463.2 MB, free: 1.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3857, allocations: 0 / 463.2 MB, free: 1.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004781/0.3862, allocations: 131.6 kB / 463.3 MB, free: 0.8906 MB / 330.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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008117/0.387, allocations: 0.9271 MB / 464.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007401/0.3878, allocations: 439.5 kB / 464.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3878, allocations: 0 / 464.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.388, allocations: 202.4 kB / 464.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.3883, allocations: 33.84 kB / 464.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.3899, allocations: 0.709 MB / 465.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.3902, allocations: 0.757 MB / 466.4 MB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.3903, allocations: 30.05 kB / 466.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.123e-05/0.3904, allocations: 67.42 kB / 466.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of SimCode: time 4e-07/0.3904, allocations: 0 / 466.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.4075, allocations: 5.251 MB / 471.7 MB, free: 8.371 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.4077, allocations: 192.3 kB / 471.9 MB, free: 8.145 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.091, allocations: 3.938 kB / 471.9 MB, free: 8.141 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --timeout=50 --tolerance=0.0001 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat does not exist to compare? outputFormat=mat