Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollower,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009132/0.0009132, allocations: 97.81 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.743e-05/2.745e-05, allocations: 8 kB / 343.8 MB, free: 8.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 51.49 MB / 395.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3268/0.4337, allocations: 80.75 MB / 476 MB, free: 11.42 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.4341, allocations: 77.58 kB / 476.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01538/0.4495, allocations: 5.758 MB / 481.9 MB, free: 7.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4495, allocations: 0 / 481.9 MB, free: 7.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.4495, allocations: 4 kB / 481.9 MB, free: 7.266 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000807/0.4504, allocations: 0.5693 MB / 482.4 MB, free: 6.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4504, allocations: 8.031 kB / 482.5 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.921e-05/0.4505, allocations: 27.72 kB / 482.5 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.4508, allocations: 272.2 kB / 482.7 MB, free: 6.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.4508, allocations: 11.61 kB / 482.8 MB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.4509, allocations: 12.56 kB / 482.8 MB, free: 6.332 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002466/0.4511, allocations: 142.4 kB / 482.9 MB, free: 6.246 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.4514, allocations: 198.4 kB / 483.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4515, allocations: 0 / 483.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.4515, allocations: 0 / 483.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.4515, allocations: 4 kB / 483.1 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.4529, allocations: 0.9495 MB / 484.1 MB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.454, allocations: 349.4 kB / 484.4 MB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.335e-05/0.4541, allocations: 50.66 kB / 484.4 MB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.4541, allocations: 3.953 kB / 484.4 MB, free: 4.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.4543, allocations: 119.6 kB / 484.6 MB, free: 4.719 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.4543, allocations: 0 / 484.6 MB, free: 4.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005487/0.4549, allocations: 191.5 kB / 484.8 MB, free: 4.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.455, allocations: 106.8 kB / 484.9 MB, free: 4.418 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.4552, allocations: 213.4 kB / 485.1 MB, free: 4.242 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.4552, allocations: 25.7 kB / 485.1 MB, free: 4.211 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.886e-05/0.4553, allocations: 195.5 kB / 485.3 MB, free: 4.047 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.4554, allocations: 30.95 kB / 485.3 MB, free: 4.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.4554, allocations: 0 / 485.3 MB, free: 4.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.4555, allocations: 334.3 kB / 485.6 MB, free: 3.695 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.572e-05/0.4555, allocations: 45.69 kB / 485.7 MB, free: 3.668 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.4557, allocations: 150.2 kB / 485.8 MB, free: 3.504 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.511e-05/0.4558, allocations: 63.75 kB / 485.9 MB, free: 3.457 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4558, allocations: 0 / 485.9 MB, free: 3.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005348/0.4563, allocations: 282.6 kB / 486.2 MB, free: 3.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/0.4564, allocations: 37.33 kB / 486.2 MB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.4564, allocations: 4 kB / 486.2 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/0.4565, allocations: 28.59 kB / 486.2 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.4568, allocations: 62.94 kB / 486.3 MB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000924/0.4577, allocations: 1.295 MB / 487.6 MB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.458, allocations: 55.81 kB / 487.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.4581, allocations: 15.94 kB / 487.7 MB, free: 1.652 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 8.942e-05/0.4582, allocations: 118.6 kB / 487.8 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003932/0.4586, allocations: 194.8 kB / 488 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.4586, allocations: 19.72 kB / 488 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.4587, allocations: 25.44 kB / 488 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4587, allocations: 7.984 kB / 488 MB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.4587, allocations: 0 / 488 MB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4587, allocations: 3.953 kB / 488 MB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006579/0.4594, allocations: 0.5105 MB / 488.5 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4594, allocations: 0 / 488.5 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.4595, allocations: 31.97 kB / 488.6 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-05/0.4596, allocations: 19.55 kB / 488.6 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.4596, allocations: 15.94 kB / 488.6 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009028/0.4605, allocations: 1.286 MB / 489.9 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4605, allocations: 0 / 489.9 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.461, allocations: 281.9 kB / 490.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.4611, allocations: 103.4 kB / 490.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.4611, allocations: 11.2 kB / 490.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.4614, allocations: 39.95 kB / 490.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.4615, allocations: 19.91 kB / 490.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.4615, allocations: 4 kB / 490.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001732/0.4617, allocations: 174.3 kB / 490.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4617, allocations: 0 / 490.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003534/0.462, allocations: 59.84 kB / 490.6 MB, free: 14.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000842/0.4629, allocations: 0.8246 MB / 491.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004177/0.4633, allocations: 284.6 kB / 491.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4633, allocations: 256 / 491.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.4635, allocations: 154.8 kB / 491.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.4638, allocations: 37.23 kB / 491.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007885/0.4646, allocations: 302 kB / 492.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.465, allocations: 0.7482 MB / 492.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000125/0.4651, allocations: 30.05 kB / 492.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.947e-05/0.4652, allocations: 68.05 kB / 493 MB, free: 12.39 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4652, allocations: 4 kB / 493 MB, free: 12.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.49, allocations: 4.464 MB / 497.5 MB, free: 8.02 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.4903, allocations: 153.5 kB / 497.6 MB, free: 7.828 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.191, allocations: 0 / 497.6 MB, free: 7.828 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat does not exist to compare? outputFormat=mat