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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001037/0.001038, allocations: 94.92 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 203.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002901/0.0002902, allocations: 8 kB / 306.7 MB, free: 1.246 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1146, allocations: 51.49 MB / 358.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00275/0.1174, allocations: 2.174 MB / 360.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1186, allocations: 0.6861 MB / 361.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1187, allocations: 4 kB / 361.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.062e-05/0.1188, allocations: 31.75 kB / 361.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.119, allocations: 111.6 kB / 361.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.1192, allocations: 75.84 kB / 361.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.1196, allocations: 227.4 kB / 361.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.1198, allocations: 81.69 kB / 361.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.12, allocations: 111.6 kB / 361.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.1202, allocations: 115.5 kB / 361.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.1203, allocations: 19.94 kB / 361.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.693e-05/0.1203, allocations: 16 kB / 361.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.1204, allocations: 47.83 kB / 361.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.901e-05/0.1204, allocations: 73.58 kB / 362 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.1207, allocations: 227.6 kB / 362.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1207, allocations: 0 / 362.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1207, allocations: 0 / 362.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1207, allocations: 0 / 362.2 MB, free: 9.746 MB / 302.1 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.0009561/0.1217, allocations: 0.5497 MB / 362.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.1217, allocations: 8.031 kB / 362.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.786e-05/0.1218, allocations: 62.53 kB / 362.8 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.409e-05/0.1219, allocations: 35.56 kB / 362.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.1222, allocations: 254.6 kB / 363.1 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1223, allocations: 20.52 kB / 363.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.1223, allocations: 24 kB / 363.1 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.1228, allocations: 271.7 kB / 363.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1229, allocations: 3.938 kB / 363.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.1229, allocations: 12 kB / 363.4 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.1229, allocations: 8 kB / 363.4 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004509/0.1234, allocations: 210.1 kB / 363.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.125, allocations: 1.023 MB / 364.6 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.1255, allocations: 195.5 kB / 364.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.1256, allocations: 4 kB / 364.8 MB, free: 6.895 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1256, allocations: 34.88 kB / 364.9 MB, free: 6.852 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.1256, allocations: 0 / 364.9 MB, free: 6.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001811/0.1274, allocations: 0.6004 MB / 365.5 MB, free: 6.223 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.1275, allocations: 59.3 kB / 365.5 MB, free: 6.152 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.1277, allocations: 229 kB / 365.8 MB, free: 5.914 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1278, allocations: 29.7 kB / 365.8 MB, free: 5.879 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.1279, allocations: 179.8 kB / 366 MB, free: 5.695 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.128, allocations: 63.09 kB / 366 MB, free: 5.633 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.128, allocations: 4 kB / 366 MB, free: 5.629 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1282, allocations: 330.8 kB / 366.4 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.1283, allocations: 71.95 kB / 366.4 MB, free: 5.227 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.1285, allocations: 138.9 kB / 366.6 MB, free: 5.066 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.1287, allocations: 88.48 kB / 366.6 MB, free: 4.984 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1288, allocations: 0 / 366.6 MB, free: 4.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008514/0.1296, allocations: 376.3 kB / 367 MB, free: 4.609 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1296, allocations: 8 kB / 367 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.1297, allocations: 0 / 367 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003809/0.13, allocations: 88.8 kB / 367.1 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.1303, allocations: 55.91 kB / 367.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/0.1331, allocations: 1.873 MB / 369 MB, free: 2.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.1333, allocations: 35.77 kB / 369.1 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.1333, allocations: 4 kB / 369.1 MB, free: 2.41 MB / 302.1 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.000165/0.1335, allocations: 150.4 kB / 369.2 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.1336, allocations: 19.81 kB / 369.2 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.522e-05/0.1336, allocations: 26.17 kB / 369.3 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1336, allocations: 4 kB / 369.3 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1336, allocations: 0 / 369.3 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1336, allocations: 0 / 369.3 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.134, allocations: 301.4 kB / 369.6 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.134, allocations: 0 / 369.6 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.1341, allocations: 31.98 kB / 369.6 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002763/0.1344, allocations: 80.92 kB / 369.7 MB, free: 1.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1344, allocations: 8 kB / 369.7 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2285/0.363, allocations: 1.782 MB / 371.5 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.363, allocations: 5.031 kB / 371.5 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.3642, allocations: 476.5 kB / 371.9 MB, free: 18.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.3643, allocations: 102.6 kB / 372 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.3644, allocations: 4.578 kB / 372 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.3646, allocations: 22.12 kB / 372.1 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.3646, allocations: 15.66 kB / 372.1 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.3646, allocations: 6.062 kB / 372.1 MB, free: 17.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.3648, allocations: 165.8 kB / 372.2 MB, free: 17.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3649, allocations: 0 / 372.2 MB, free: 17.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005403/0.3654, allocations: 72.02 kB / 372.3 MB, free: 17.91 MB / 302.1 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.001302/0.3667, allocations: 1.012 MB / 373.3 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.3677, allocations: 388 kB / 373.7 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3677, allocations: 4.984 kB / 373.7 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.368, allocations: 203.5 kB / 373.9 MB, free: 17.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.3684, allocations: 38.62 kB / 373.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00514/0.3735, allocations: 3.015 MB / 377 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.3739, allocations: 0.7578 MB / 377.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.374, allocations: 23.77 kB / 377.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.3742, allocations: 74.52 kB / 377.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3742, allocations: 0 / 377.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.3962, allocations: 4.779 MB / 382.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/0.3965, allocations: 229.8 kB / 382.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.228, allocations: 4 kB / 382.8 MB, free: 13.97 MB / 302.1 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