Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001287/0.001287, allocations: 198.4 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.203/1.203, allocations: 227.2 MB / 245 MB, free: 5.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008588/0.0008588, allocations: 101.6 kB / 297.3 MB, free: 5.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000209/0.0002089, allocations: 11.98 kB / 358 MB, free: 9.227 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1952, allocations: 51.47 MB / 409.5 MB, free: 26.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09094/0.2862, allocations: 79.93 MB / 489.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.2864, allocations: 79.94 kB / 489.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01189/0.2983, allocations: 4.581 MB / 494.1 MB, free: 5.891 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2983, allocations: 0 / 494.1 MB, free: 5.891 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.2984, allocations: 8 kB / 494.1 MB, free: 5.883 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.0007722/0.2991, allocations: 0.5421 MB / 494.6 MB, free: 5.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.2992, allocations: 8.031 kB / 494.7 MB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.102e-05/0.2993, allocations: 58.55 kB / 494.7 MB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.2993, allocations: 35.56 kB / 494.7 MB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.2997, allocations: 263.4 kB / 495 MB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.2997, allocations: 16.56 kB / 495 MB, free: 4.871 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.2997, allocations: 24 kB / 495 MB, free: 4.848 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.3002, allocations: 279.6 kB / 495.3 MB, free: 4.559 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3003, allocations: 0 / 495.3 MB, free: 4.559 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.3003, allocations: 12 kB / 495.3 MB, free: 4.547 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3003, allocations: 4 kB / 495.3 MB, free: 4.543 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004355/0.3007, allocations: 210.2 kB / 495.5 MB, free: 4.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.3023, allocations: 1.035 MB / 496.6 MB, free: 3.227 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.3028, allocations: 190.5 kB / 496.8 MB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.3028, allocations: 0 / 496.8 MB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.3028, allocations: 46.5 kB / 496.8 MB, free: 2.977 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 9.62e-07/0.3028, allocations: 0 / 496.8 MB, free: 2.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001679/0.3045, allocations: 0.5995 MB / 497.4 MB, free: 2.352 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.3046, allocations: 55.41 kB / 497.5 MB, free: 2.285 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.3048, allocations: 212.1 kB / 497.7 MB, free: 2.074 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3048, allocations: 25.7 kB / 497.7 MB, free: 2.043 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3049, allocations: 179.8 kB / 497.9 MB, free: 1.863 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.305, allocations: 55.2 kB / 497.9 MB, free: 1.809 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.305, allocations: 7.938 kB / 497.9 MB, free: 1.801 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3051, allocations: 334.8 kB / 498.2 MB, free: 1.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.3053, allocations: 75.89 kB / 498.3 MB, free: 1.391 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.3055, allocations: 135 kB / 498.5 MB, free: 1.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.3057, allocations: 92.05 kB / 498.5 MB, free: 1.145 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3057, allocations: 0 / 498.5 MB, free: 1.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008024/0.3065, allocations: 372.8 kB / 498.9 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3066, allocations: 8.031 kB / 498.9 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3066, allocations: 4 kB / 498.9 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003461/0.3069, allocations: 76.8 kB / 499 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.3071, allocations: 55.92 kB / 499.1 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002656/0.3098, allocations: 1.886 MB / 0.4892 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.31, allocations: 35.67 kB / 0.4892 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.31, allocations: 11.95 kB / 0.4892 GB, free: 14.56 MB / 378.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.0001187/0.3101, allocations: 137.8 kB / 0.4894 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.3102, allocations: 19.72 kB / 0.4894 GB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.075e-05/0.3103, allocations: 34.23 kB / 0.4894 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3103, allocations: 0 / 0.4894 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.3103, allocations: 0 / 0.4894 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3103, allocations: 0 / 0.4894 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.3106, allocations: 301.5 kB / 0.4897 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3106, allocations: 0 / 0.4897 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.3108, allocations: 31.98 kB / 0.4897 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002646/0.311, allocations: 84.73 kB / 0.4898 GB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.3111, allocations: 8.125 kB / 0.4898 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.3132, allocations: 1.787 MB / 0.4916 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3132, allocations: 7.938 kB / 0.4916 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000873/0.3141, allocations: 475.9 kB / 0.492 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.3142, allocations: 100.8 kB / 0.4921 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.3142, allocations: 0 / 0.4921 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.3145, allocations: 28.05 kB / 0.4922 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.3145, allocations: 7.984 kB / 0.4922 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3145, allocations: 11.98 kB / 0.4922 GB, free: 11.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001349/0.3146, allocations: 164.5 kB / 0.4923 GB, free: 11.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3147, allocations: 0 / 0.4923 GB, free: 11.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003867/0.315, allocations: 71.84 kB / 0.4924 GB, free: 11.08 MB / 378.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.001145/0.3162, allocations: 1.014 MB / 0.4934 GB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008164/0.317, allocations: 386.6 kB / 0.4938 GB, free: 9.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.317, allocations: 4.125 kB / 0.4938 GB, free: 9.648 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003295/0.3174, allocations: 210.6 kB / 0.494 GB, free: 9.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.3177, allocations: 40.53 kB / 0.494 GB, free: 9.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.3217, allocations: 3.021 MB / 0.497 GB, free: 6.289 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.322, allocations: 0.7599 MB / 0.4977 GB, free: 5.504 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.451e-05/0.3221, allocations: 17.95 kB / 0.4977 GB, free: 5.484 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.3222, allocations: 75.41 kB / 0.4978 GB, free: 5.41 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3223, allocations: 0 / 0.4978 GB, free: 5.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.3386, allocations: 4.787 MB / 0.5025 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.3388, allocations: 218.5 kB / 0.5027 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/1.924, allocations: 0 / 0.5027 GB, free: 0.5781 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --timeout=50 --tolerance=0.0001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat does not exist to compare? outputFormat=mat