Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.Adder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00112/0.00112, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00095/0.00095, allocations: 87.66 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.875e-05/3.892e-05, allocations: 4 kB / 350.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 51.49 MB / 402.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3405/0.4517, allocations: 81.65 MB / 483.8 MB, free: 7.816 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.452, allocations: 84.16 kB / 483.9 MB, free: 7.773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0134/0.4654, allocations: 5.739 MB / 489.6 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.4654, allocations: 0 / 489.6 MB, free: 2.969 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.055e-05/0.4655, allocations: 8 kB / 489.6 MB, free: 2.961 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007246/0.4662, allocations: 0.5726 MB / 490.2 MB, free: 2.371 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.4663, allocations: 12.02 kB / 490.2 MB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.601e-05/0.4663, allocations: 67.23 kB / 490.3 MB, free: 2.305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.4665, allocations: 60.67 kB / 490.3 MB, free: 2.246 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.4668, allocations: 298.9 kB / 490.6 MB, free: 1.957 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.4668, allocations: 23.72 kB / 490.6 MB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.4669, allocations: 27.44 kB / 490.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/0.4674, allocations: 322.6 kB / 491 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.4674, allocations: 0 / 491 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.4674, allocations: 12.5 kB / 491 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.4674, allocations: 11.06 kB / 491 MB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.4678, allocations: 228.5 kB / 491.2 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.4694, allocations: 1.282 MB / 492.5 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.4697, allocations: 248 kB / 492.8 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.4698, allocations: 78.34 kB / 492.8 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.4699, allocations: 3.25 kB / 492.8 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.4699, allocations: 34.56 kB / 492.9 MB, free: 152 kB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.4699, allocations: 3.938 kB / 492.9 MB, free: 148 kB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006483/0.4705, allocations: 259 kB / 493.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.4706, allocations: 55.41 kB / 493.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.4709, allocations: 262 kB / 493.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.4709, allocations: 29.7 kB / 493.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.471, allocations: 215.6 kB / 493.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.471, allocations: 55.2 kB / 493.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/0.4711, allocations: 4 kB / 493.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4712, allocations: 334.8 kB / 494.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.837e-05/0.4713, allocations: 56 kB / 494.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.4715, allocations: 134.3 kB / 494.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.4716, allocations: 83.28 kB / 494.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4716, allocations: 0 / 494.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007071/0.4723, allocations: 355.2 kB / 494.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.4724, allocations: 4 kB / 494.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.4724, allocations: 11.89 kB / 494.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002964/0.4727, allocations: 72.81 kB / 494.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.4729, allocations: 47.91 kB / 494.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.475, allocations: 1.805 MB / 496.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.4752, allocations: 39.67 kB / 496.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.4753, allocations: 17 kB / 496.7 MB, free: 12.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.4754, allocations: 116.9 kB / 496.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.4755, allocations: 23.72 kB / 496.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.4755, allocations: 33.98 kB / 496.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4755, allocations: 4 kB / 496.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.4756, allocations: 0 / 496.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4756, allocations: 0 / 496.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.4766, allocations: 0.6824 MB / 497.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.4766, allocations: 0 / 497.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.991e-05/0.4767, allocations: 16 kB / 497.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001713/0.4769, allocations: 67.44 kB / 497.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.4769, allocations: 3.953 kB / 497.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.4787, allocations: 1.805 MB / 499.4 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4787, allocations: 2.125 kB / 499.4 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006201/0.4793, allocations: 364.6 kB / 499.8 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.618e-05/0.4794, allocations: 96.83 kB / 499.9 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.4795, allocations: 7.953 kB / 499.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.4797, allocations: 31.97 kB / 499.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.4797, allocations: 11.98 kB / 499.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.4798, allocations: 4 kB / 499.9 MB, free: 8.703 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002031/0.48, allocations: 208.1 kB / 0.4884 GB, free: 8.504 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.48, allocations: 0 / 0.4884 GB, free: 8.504 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00043/0.4804, allocations: 91.69 kB / 0.4885 GB, free: 8.414 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008634/0.4813, allocations: 0.9013 MB / 0.4894 GB, free: 7.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004926/0.4818, allocations: 296.5 kB / 0.4897 GB, free: 7.184 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4818, allocations: 0.6875 kB / 0.4897 GB, free: 7.184 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.4821, allocations: 208.8 kB / 0.4899 GB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.4824, allocations: 34.66 kB / 0.4899 GB, free: 6.934 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009361/0.4833, allocations: 433.2 kB / 0.4903 GB, free: 6.477 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.4836, allocations: 0.7757 MB / 0.4911 GB, free: 5.672 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00011/0.4837, allocations: 27.47 kB / 0.4911 GB, free: 5.645 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.4839, allocations: 91.41 kB / 0.4912 GB, free: 5.555 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4839, allocations: 0 / 0.4912 GB, free: 5.555 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.5006, allocations: 5.882 MB / 0.4969 GB, free: 15.95 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/0.5008, allocations: 181.7 kB / 0.4971 GB, free: 15.72 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/2.493, allocations: 0 / 0.4971 GB, free: 15.72 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat does not exist to compare? outputFormat=mat