Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 202.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008348/0.0008349, allocations: 96.67 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.208e-05, allocations: 8 kB / 343.8 MB, free: 8.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1286, allocations: 51.48 MB / 395.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3506/0.4793, allocations: 81.57 MB / 476.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.4796, allocations: 82.36 kB / 476.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01567/0.4953, allocations: 6.263 MB / 483.2 MB, free: 6.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4953, allocations: 0 / 483.2 MB, free: 6.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.4953, allocations: 12.92 kB / 483.2 MB, free: 6.039 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008824/0.4962, allocations: 0.5914 MB / 483.8 MB, free: 5.422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.4963, allocations: 8.031 kB / 483.8 MB, free: 5.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.583e-05/0.4964, allocations: 32.48 kB / 483.8 MB, free: 5.383 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.4967, allocations: 288.3 kB / 484.1 MB, free: 5.098 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.4967, allocations: 8 kB / 484.1 MB, free: 5.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.4968, allocations: 19.98 kB / 484.1 MB, free: 5.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002756/0.497, allocations: 162.3 kB / 484.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/0.4974, allocations: 231.4 kB / 484.5 MB, free: 4.805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4974, allocations: 4 kB / 484.5 MB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.4974, allocations: 3.375 kB / 484.5 MB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.4975, allocations: 4 kB / 484.5 MB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.499, allocations: 1.095 MB / 485.6 MB, free: 3.832 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.4993, allocations: 133.6 kB / 485.8 MB, free: 3.738 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.02e-05/0.4994, allocations: 60.58 kB / 485.8 MB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.4994, allocations: 0 / 485.8 MB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.4996, allocations: 125.2 kB / 485.9 MB, free: 3.582 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.4996, allocations: 3.938 kB / 486 MB, free: 3.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002414/0.4998, allocations: 127.4 kB / 486.1 MB, free: 3.477 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.4999, allocations: 85.09 kB / 486.2 MB, free: 3.375 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.5, allocations: 210.7 kB / 486.4 MB, free: 3.199 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.5001, allocations: 29.64 kB / 486.4 MB, free: 3.164 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.5001, allocations: 202.5 kB / 486.6 MB, free: 2.988 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.5002, allocations: 38.27 kB / 486.6 MB, free: 2.957 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.5002, allocations: 4 kB / 486.6 MB, free: 2.953 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.5002, allocations: 333.6 kB / 487 MB, free: 2.625 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.149e-05/0.5003, allocations: 51.48 kB / 487 MB, free: 2.594 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.5004, allocations: 140.7 kB / 487.1 MB, free: 2.449 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.724e-05/0.5005, allocations: 66.03 kB / 487.2 MB, free: 2.406 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5006, allocations: 4.031 kB / 487.2 MB, free: 2.402 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002845/0.5008, allocations: 212.6 kB / 487.4 MB, free: 2.234 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.5009, allocations: 33.7 kB / 487.5 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5009, allocations: 0 / 487.5 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5009, allocations: 8 kB / 487.5 MB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.5012, allocations: 79.78 kB / 487.5 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.5012, allocations: 7.938 kB / 487.6 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.5015, allocations: 55.72 kB / 487.6 MB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.5015, allocations: 8 kB / 487.6 MB, free: 2.043 MB / 346.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: 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 (26): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.246e-05/0.5016, allocations: 121 kB / 487.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001667/0.5018, allocations: 132.6 kB / 487.9 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.5018, allocations: 22.47 kB / 487.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.5019, allocations: 23.27 kB / 487.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5019, allocations: 4 kB / 487.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.474e-05/0.5019, allocations: 0 / 487.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5019, allocations: 3.984 kB / 487.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.5021, allocations: 265.9 kB / 488.2 MB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5021, allocations: 7.984 kB / 488.2 MB, free: 1.516 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.5024, allocations: 47.16 kB / 488.2 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5024, allocations: 0 / 488.2 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.5024, allocations: 3.984 kB / 488.2 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5024, allocations: 2.5 kB / 488.2 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.5024, allocations: 3.938 kB / 488.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.5027, allocations: 236.8 kB / 488.5 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.5028, allocations: 100.8 kB / 488.6 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.5028, allocations: 0 / 488.6 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.5031, allocations: 43.78 kB / 488.6 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.5031, allocations: 11.97 kB / 488.6 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.5032, allocations: 7.188 kB / 488.6 MB, free: 1.109 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.5033, allocations: 167.8 kB / 488.8 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5033, allocations: 0 / 488.8 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002758/0.5036, allocations: 59.84 kB / 488.9 MB, free: 0.918 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.c.v) * 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 (12): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000486/0.504, allocations: 0.7745 MB / 489.6 MB, free: 184 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.5043, allocations: 193.2 kB / 489.8 MB, free: 28 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5043, allocations: 0 / 489.8 MB, free: 28 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.5044, allocations: 60.41 kB / 489.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.5047, allocations: 41.23 kB / 489.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009137/0.5056, allocations: 400.2 kB / 490.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.506, allocations: 0.7516 MB / 491.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000124/0.5061, allocations: 30.06 kB / 491.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.5062, allocations: 80.91 kB / 491.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5062, allocations: 0 / 491.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/0.5337, allocations: 4.223 MB / 495.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/0.5341, allocations: 146.6 kB / 495.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.301, allocations: 0 / 495.5 MB, free: 10.43 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat does not exist to compare? outputFormat=mat