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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 92.72 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001911/0.001911, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002352/0.0002353, allocations: 8 kB / 306.7 MB, free: 1.262 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1356, allocations: 51.5 MB / 358.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003437/0.1391, allocations: 2.241 MB / 360.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.1405, allocations: 0.69 MB / 361.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1407, allocations: 4 kB / 361.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.692e-05/0.1407, allocations: 23.77 kB / 361.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.141, allocations: 103.7 kB / 361.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.1413, allocations: 67.91 kB / 361.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.1416, allocations: 223.5 kB / 361.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.1418, allocations: 77.11 kB / 361.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.142, allocations: 107.5 kB / 361.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.1421, allocations: 127.5 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.1422, allocations: 16 kB / 361.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/0.1422, allocations: 16 kB / 361.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.1423, allocations: 43.81 kB / 361.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.142e-05/0.1424, allocations: 77.52 kB / 362 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.1426, allocations: 235.6 kB / 362.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1426, allocations: 0 / 362.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1426, allocations: 0 / 362.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1426, allocations: 0 / 362.2 MB, free: 9.703 MB / 302.1 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.00113/0.1438, allocations: 0.6028 MB / 362.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.1438, allocations: 16.02 kB / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.882e-05/0.1439, allocations: 50.55 kB / 362.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.497e-05/0.144, allocations: 31.62 kB / 362.9 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.1443, allocations: 258.6 kB / 363.2 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.1444, allocations: 24.38 kB / 363.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.1444, allocations: 24 kB / 363.2 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006239/0.1451, allocations: 289.7 kB / 363.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1451, allocations: 0 / 363.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.1451, allocations: 4 kB / 363.5 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.1451, allocations: 4 kB / 363.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007388/0.1459, allocations: 269.6 kB / 363.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.1474, allocations: 0.9335 MB / 364.7 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.1489, allocations: 0.4916 MB / 365.2 MB, free: 6.504 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1489, allocations: 0 / 365.2 MB, free: 6.504 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004665/0.1494, allocations: 186 kB / 365.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.1494, allocations: 0 / 365.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.001999/0.1514, allocations: 0.6473 MB / 366 MB, free: 5.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.1515, allocations: 102.8 kB / 366.1 MB, free: 5.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.1518, allocations: 266.7 kB / 366.4 MB, free: 5.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.1518, allocations: 29.7 kB / 366.4 MB, free: 5.195 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.1519, allocations: 187.6 kB / 366.6 MB, free: 5.008 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.152, allocations: 35.55 kB / 366.6 MB, free: 4.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/0.152, allocations: 4 kB / 366.7 MB, free: 4.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1521, allocations: 330.8 kB / 367 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.1525, allocations: 107.9 kB / 367.1 MB, free: 4.531 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/0.1529, allocations: 219.3 kB / 367.3 MB, free: 4.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.1532, allocations: 157.5 kB / 367.5 MB, free: 4.109 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1532, allocations: 0 / 367.5 MB, free: 4.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001181/0.1544, allocations: 475.4 kB / 367.9 MB, free: 3.633 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.1545, allocations: 33.7 kB / 367.9 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1545, allocations: 0 / 367.9 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003249/0.1548, allocations: 72.88 kB / 368 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.1551, allocations: 55.89 kB / 368.1 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.1571, allocations: 1.558 MB / 369.6 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.1575, allocations: 63.7 kB / 369.7 MB, free: 1.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.1575, allocations: 8 kB / 369.7 MB, free: 1.707 MB / 302.1 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 () * Number of clocked 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 0.0001522/0.1577, allocations: 155.8 kB / 369.9 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.1577, allocations: 23.72 kB / 369.9 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.897e-05/0.1578, allocations: 21.7 kB / 369.9 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1578, allocations: 3.938 kB / 369.9 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1578, allocations: 4 kB / 369.9 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1578, allocations: 0 / 369.9 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.1591, allocations: 0.6748 MB / 370.6 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1591, allocations: 0 / 370.6 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.1593, allocations: 35.91 kB / 370.6 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002074/0.1595, allocations: 64.81 kB / 370.7 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1595, allocations: 0 / 370.7 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2504/0.4099, allocations: 1.539 MB / 372.2 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.41, allocations: 1.609 kB / 372.2 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.4113, allocations: 429.6 kB / 372.6 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.4114, allocations: 101.6 kB / 372.7 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.4115, allocations: 3.594 kB / 372.7 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.4118, allocations: 42.12 kB / 372.8 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.772e-05/0.4119, allocations: 20.17 kB / 372.8 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.4119, allocations: 4.016 kB / 372.8 MB, free: 18.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002737/0.4122, allocations: 193.5 kB / 373 MB, free: 18.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4122, allocations: 0.9688 kB / 373 MB, free: 18.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004672/0.4127, allocations: 61.06 kB / 373.1 MB, free: 18.27 MB / 302.1 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) * Number of clocked states: 0 () * 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.001509/0.4142, allocations: 0.9673 MB / 374 MB, free: 17.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.4153, allocations: 414.2 kB / 374.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4153, allocations: 3.062 kB / 374.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000443/0.4157, allocations: 222.7 kB / 374.6 MB, free: 17.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.4161, allocations: 47.19 kB / 374.7 MB, free: 17.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.4201, allocations: 3.618 MB / 378.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.4205, allocations: 0.7489 MB / 379.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.4206, allocations: 25.05 kB / 379.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.4207, allocations: 73.08 kB / 379.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4208, allocations: 0 / 379.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.4497, allocations: 5.312 MB / 384.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/0.45, allocations: 227.4 kB / 384.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.274, allocations: 0 / 384.7 MB, free: 13.32 MB / 302.1 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