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.001812/0.001813, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 225.6 MB / 234.8 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001051, allocations: 101 kB / 286.7 MB, free: 5.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.919e-05/2.919e-05, allocations: 4 kB / 343.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 51.48 MB / 395.3 MB, free: 4.691 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.4371, allocations: 79.2 MB / 474.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.4373, allocations: 75.47 kB / 474.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01145/0.4488, allocations: 4.536 MB / 479.1 MB, free: 9.953 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4489, allocations: 0 / 479.1 MB, free: 9.953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.439e-05/0.4489, allocations: 4 kB / 479.1 MB, free: 9.949 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.0008441/0.4498, allocations: 0.5156 MB / 479.6 MB, free: 9.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.4498, allocations: 8.031 kB / 479.6 MB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.24e-05/0.4499, allocations: 27.72 kB / 479.6 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.4503, allocations: 260.4 kB / 479.9 MB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.4503, allocations: 12 kB / 479.9 MB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.4503, allocations: 12 kB / 479.9 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002707/0.4506, allocations: 156.2 kB / 480.1 MB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.451, allocations: 217.1 kB / 480.3 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.451, allocations: 0 / 480.3 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.451, allocations: 0 / 480.3 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.451, allocations: 9.969 kB / 480.3 MB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.4524, allocations: 0.9719 MB / 481.3 MB, free: 7.934 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.4527, allocations: 147.6 kB / 481.4 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.453, allocations: 140.1 kB / 481.5 MB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.453, allocations: 0 / 481.5 MB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.453, allocations: 38.56 kB / 481.6 MB, free: 7.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.453, allocations: 0 / 481.6 MB, free: 7.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.000564/0.4536, allocations: 229.2 kB / 481.8 MB, free: 7.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.4537, allocations: 55.41 kB / 481.9 MB, free: 7.414 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.4538, allocations: 178.6 kB / 482 MB, free: 7.262 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.4538, allocations: 25.7 kB / 482.1 MB, free: 7.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.454, allocations: 183.2 kB / 482.2 MB, free: 7.074 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.454, allocations: 61.59 kB / 482.3 MB, free: 7.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.454, allocations: 0 / 482.3 MB, free: 7.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.4541, allocations: 330 kB / 482.6 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/0.4542, allocations: 49.88 kB / 482.7 MB, free: 6.668 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.101e-05/0.4543, allocations: 101.3 kB / 482.8 MB, free: 6.562 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.754e-05/0.4544, allocations: 64.91 kB / 482.8 MB, free: 6.523 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4544, allocations: 0 / 482.8 MB, free: 6.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005386/0.455, allocations: 287.7 kB / 483.1 MB, free: 6.277 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.455, allocations: 4.75 kB / 483.1 MB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.455, allocations: 4 kB / 483.1 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/0.4552, allocations: 53.8 kB / 483.2 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.4554, allocations: 51.86 kB / 483.2 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.4568, allocations: 1.613 MB / 484.8 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.457, allocations: 27.77 kB / 484.9 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.457, allocations: 11.75 kB / 484.9 MB, free: 4.543 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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 0.0001329/0.4572, allocations: 118.1 kB / 485 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004597/0.4576, allocations: 226.3 kB / 485.2 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.4577, allocations: 23.72 kB / 485.2 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.587e-05/0.4577, allocations: 24.33 kB / 485.3 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4578, allocations: 4 kB / 485.3 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.4578, allocations: 0 / 485.3 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4578, allocations: 0 / 485.3 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007863/0.4586, allocations: 0.5563 MB / 485.8 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4586, allocations: 0 / 485.8 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.4587, allocations: 31.94 kB / 485.9 MB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001311/0.4589, allocations: 54.52 kB / 485.9 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.4589, allocations: 0 / 485.9 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.4605, allocations: 1.716 MB / 487.6 MB, free: 1.906 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4605, allocations: 0 / 487.6 MB, free: 1.906 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005388/0.4611, allocations: 388.6 kB / 488 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.4611, allocations: 88.95 kB / 488.1 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.4611, allocations: 3.953 kB / 488.1 MB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.4613, allocations: 24.05 kB / 488.1 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.4614, allocations: 15.97 kB / 488.1 MB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.4614, allocations: 7.562 kB / 488.1 MB, free: 1.422 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.317e-05/0.4615, allocations: 147.6 kB / 488.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4615, allocations: 0 / 488.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004498/0.4619, allocations: 71.75 kB / 488.4 MB, free: 1.23 MB / 346.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.0007972/0.4628, allocations: 0.9243 MB / 489.3 MB, free: 348 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000425/0.4632, allocations: 243.9 kB / 489.5 MB, free: 140 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4632, allocations: 4.438 kB / 489.5 MB, free: 136 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.4637, allocations: 265.8 kB / 489.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.4641, allocations: 31.11 kB / 489.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.4665, allocations: 0.7729 MB / 490.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.4669, allocations: 0.7638 MB / 491.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.467, allocations: 18.08 kB / 491.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.95e-05/0.4671, allocations: 70.8 kB / 491.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.4671, allocations: 0 / 491.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.4905, allocations: 4.078 MB / 495.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.4908, allocations: 148 kB / 495.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.268, allocations: 2.844 kB / 495.7 MB, free: 10.06 MB / 362.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