Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, 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.342/1.342, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008031/0.0008032, allocations: 95.56 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.965e-05, allocations: 8 kB / 343.8 MB, free: 8.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09113/0.09118, allocations: 51.48 MB / 395.3 MB, free: 4.609 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3065/0.3978, allocations: 81.58 MB / 476.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.398, allocations: 83.52 kB / 476.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01624/0.4143, allocations: 6.299 MB / 483.2 MB, free: 5.992 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4143, allocations: 0 / 483.2 MB, free: 5.992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.4143, allocations: 11.98 kB / 483.3 MB, free: 5.98 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.0008313/0.4152, allocations: 0.5927 MB / 483.8 MB, free: 5.359 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4152, allocations: 12.03 kB / 483.9 MB, free: 5.348 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.902e-05/0.4153, allocations: 32.48 kB / 483.9 MB, free: 5.316 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.4156, allocations: 279.8 kB / 484.2 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.4156, allocations: 11.98 kB / 484.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.171e-05/0.4157, allocations: 16 kB / 484.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002767/0.416, allocations: 168.9 kB / 484.4 MB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.4163, allocations: 226.1 kB / 484.6 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4163, allocations: 4 kB / 484.6 MB, free: 4.738 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.4164, allocations: 7.984 kB / 484.6 MB, free: 4.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.4164, allocations: 7.375 kB / 484.6 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.4181, allocations: 1.152 MB / 485.7 MB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.4184, allocations: 137.1 kB / 485.9 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.802e-05/0.4185, allocations: 65.38 kB / 485.9 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.4185, allocations: 4 kB / 486 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.4187, allocations: 117 kB / 486.1 MB, free: 3.445 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.4187, allocations: 0 / 486.1 MB, free: 3.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005365/0.4192, allocations: 198.5 kB / 486.3 MB, free: 3.273 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.4193, allocations: 96.55 kB / 486.4 MB, free: 3.164 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.4194, allocations: 211.1 kB / 486.6 MB, free: 2.988 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.4195, allocations: 29.64 kB / 486.6 MB, free: 2.953 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.4196, allocations: 204.2 kB / 486.8 MB, free: 2.781 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.4196, allocations: 34.45 kB / 486.8 MB, free: 2.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.4196, allocations: 0 / 486.8 MB, free: 2.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.087e-05/0.4197, allocations: 332.2 kB / 487.1 MB, free: 2.426 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.4198, allocations: 54.8 kB / 487.2 MB, free: 2.395 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.4199, allocations: 142.2 kB / 487.3 MB, free: 2.246 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.239e-05/0.42, allocations: 68.55 kB / 487.4 MB, free: 2.203 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.42, allocations: 0 / 487.4 MB, free: 2.203 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006148/0.4206, allocations: 278.9 kB / 487.7 MB, free: 1.969 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.4206, allocations: 41.06 kB / 487.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4206, allocations: 4 kB / 487.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001428/0.4208, allocations: 31.55 kB / 487.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.421, allocations: 67.59 kB / 487.8 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008889/0.4219, allocations: 1.337 MB / 489.2 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.4223, allocations: 47.81 kB / 489.2 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.4223, allocations: 11.75 kB / 489.2 MB, free: 404 kB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: integrator.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: 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 (25): * Single equations (assignments): 23 * 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 0.000116/0.4224, allocations: 113 kB / 489.3 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004323/0.4229, allocations: 214.9 kB / 489.5 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.4229, allocations: 23.77 kB / 489.6 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.4229, allocations: 24.33 kB / 489.6 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.423, allocations: 0 / 489.6 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.423, allocations: 0 / 489.6 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.423, allocations: 0.75 kB / 489.6 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.4232, allocations: 277.8 kB / 489.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4233, allocations: 0 / 489.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.4235, allocations: 35.97 kB / 489.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-05/0.4236, allocations: 31.34 kB / 489.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.4236, allocations: 11.45 kB / 489.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.4247, allocations: 1.318 MB / 491.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4247, allocations: 0 / 491.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.4253, allocations: 297.8 kB / 491.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.4254, allocations: 103.9 kB / 491.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.4254, allocations: 7.984 kB / 491.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.4257, allocations: 31.97 kB / 491.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.4257, allocations: 19.28 kB / 491.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.4258, allocations: 0 / 491.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001518/0.4259, allocations: 178.4 kB / 491.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4259, allocations: 3.938 kB / 491.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003462/0.4263, allocations: 67.78 kB / 491.9 MB, free: 13.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.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 (11): * Single equations (assignments): 8 * 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.0009969/0.4273, allocations: 0.8359 MB / 492.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004179/0.4277, allocations: 298.8 kB / 493.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4277, allocations: 4.312 kB / 493.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.4279, allocations: 162.8 kB / 493.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.4282, allocations: 36.41 kB / 493.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.43, allocations: 0.5762 MB / 493.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.4303, allocations: 0.7638 MB / 494.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.4304, allocations: 22.08 kB / 494.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.4305, allocations: 75.28 kB / 494.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4305, allocations: 0 / 494.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.4541, allocations: 4.753 MB / 499.5 MB, free: 6.414 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.4544, allocations: 137.8 kB / 499.6 MB, free: 6.227 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.295, allocations: 0 / 499.6 MB, free: 6.227 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat does not exist to compare? outputFormat=mat