Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 95.8 kB / 16.3 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009359/0.0009358, allocations: 185.1 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.2 MB / 241.1 MB, free: 5.461 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003456, allocations: 7.484 kB / 300.8 MB, free: 6.078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1397, allocations: 50.43 MB / 351.2 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003911/0.1437, allocations: 2.366 MB / 353.6 MB, free: 9.266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1452, allocations: 0.7057 MB / 354.3 MB, free: 8.555 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.1454, allocations: 11.94 kB / 354.3 MB, free: 8.543 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.501e-05/0.1455, allocations: 43.67 kB / 354.4 MB, free: 8.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.1458, allocations: 123.7 kB / 354.5 MB, free: 8.379 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.1461, allocations: 95.77 kB / 354.6 MB, free: 8.285 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005778/0.1467, allocations: 267.4 kB / 354.8 MB, free: 8.023 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.147, allocations: 94.08 kB / 354.9 MB, free: 7.926 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.1472, allocations: 127.5 kB / 355.1 MB, free: 7.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.1473, allocations: 143.4 kB / 355.2 MB, free: 7.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/0.1474, allocations: 20 kB / 355.2 MB, free: 7.641 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.624e-05/0.1475, allocations: 16 kB / 355.2 MB, free: 7.625 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.147e-05/0.1475, allocations: 59.75 kB / 355.3 MB, free: 7.566 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.822e-05/0.1476, allocations: 81.52 kB / 355.4 MB, free: 7.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.1481, allocations: 271.2 kB / 355.6 MB, free: 7.215 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1481, allocations: 0 / 355.6 MB, free: 7.215 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.1481, allocations: 0 / 355.6 MB, free: 7.215 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1481, allocations: 0 / 355.6 MB, free: 7.215 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00116/0.1493, allocations: 0.5925 MB / 356.2 MB, free: 6.574 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1494, allocations: 11.97 kB / 356.2 MB, free: 6.562 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.301e-05/0.1495, allocations: 70.53 kB / 356.3 MB, free: 6.484 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.827e-05/0.1495, allocations: 31.62 kB / 356.3 MB, free: 6.453 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.1499, allocations: 286.1 kB / 356.6 MB, free: 6.133 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.15, allocations: 20.66 kB / 356.6 MB, free: 6.113 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.996e-05/0.15, allocations: 32 kB / 356.7 MB, free: 6.082 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006432/0.1507, allocations: 349 kB / 357 MB, free: 5.734 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1507, allocations: 3.938 kB / 357 MB, free: 5.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.1507, allocations: 12 kB / 357 MB, free: 5.719 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.1507, allocations: 8 kB / 357 MB, free: 5.711 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006536/0.1514, allocations: 294.5 kB / 357.3 MB, free: 5.418 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.1538, allocations: 1.194 MB / 358.5 MB, free: 4.145 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008991/0.1547, allocations: 310.7 kB / 358.8 MB, free: 3.832 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.1548, allocations: 0 / 358.8 MB, free: 3.832 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.1548, allocations: 42.56 kB / 358.9 MB, free: 3.781 MB / 286.1 MB Notification: Performance of pre-optimization done (n=19): time 1.142e-06/0.1548, allocations: 0 / 358.9 MB, free: 3.781 MB / 286.1 MB Notification: Performance of matching and sorting (n=19): time 0.002654/0.1575, allocations: 0.8865 MB / 359.7 MB, free: 2.848 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.1575, allocations: 55.41 kB / 359.8 MB, free: 2.781 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.1579, allocations: 282.5 kB / 360.1 MB, free: 2.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.1579, allocations: 25.7 kB / 360.1 MB, free: 2.469 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.1581, allocations: 203.9 kB / 360.3 MB, free: 2.266 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.568e-05/0.1582, allocations: 75 kB / 360.4 MB, free: 2.191 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.1582, allocations: 4 kB / 360.4 MB, free: 2.188 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002837/0.1585, allocations: 334.8 kB / 360.7 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.1588, allocations: 99.94 kB / 360.8 MB, free: 1.754 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.1591, allocations: 196 kB / 361 MB, free: 1.52 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.1594, allocations: 119.8 kB / 361.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1594, allocations: 0 / 361.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001529/0.161, allocations: 0.5443 MB / 361.7 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007334/0.1617, allocations: 1.227 MB / 362.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.1617, allocations: 4 kB / 362.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006053/0.1623, allocations: 141.6 kB / 363 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.1626, allocations: 55.91 kB / 363.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005069/0.1676, allocations: 3.36 MB / 366.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.1679, allocations: 51.56 kB / 366.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.168, allocations: 19.94 kB / 366.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.168, allocations: 4 kB / 366.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008485/0.1688, allocations: 369.4 kB / 366.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.1689, allocations: 12.03 kB / 366.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002697/0.1691, allocations: 89.66 kB / 367 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.1694, allocations: 63.84 kB / 367 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003205/0.1726, allocations: 2.98 MB / 370 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.1729, allocations: 39.75 kB / 370.1 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.1729, allocations: 15.94 kB / 370.1 MB, free: 7.785 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002513/0.1732, allocations: 221 kB / 370.3 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.1732, allocations: 23.72 kB / 370.3 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.226e-05/0.1733, allocations: 30.17 kB / 370.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1733, allocations: 4 kB / 370.3 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1733, allocations: 0 / 370.3 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.1733, allocations: 3.984 kB / 370.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.1737, allocations: 333.3 kB / 370.7 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1737, allocations: 3.984 kB / 370.7 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.1739, allocations: 23.98 kB / 370.7 MB, free: 7.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00051/0.1744, allocations: 137.9 kB / 370.8 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.1745, allocations: 4 kB / 370.8 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004692/0.1792, allocations: 3.229 MB / 374.1 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1792, allocations: 0 / 374.1 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.1809, allocations: 0.6334 MB / 374.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.835e-05/0.181, allocations: 100.8 kB / 374.8 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.181, allocations: 4 kB / 374.8 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.1813, allocations: 36.03 kB / 374.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.1813, allocations: 23.91 kB / 374.9 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.1815, allocations: 4 kB / 374.9 MB, free: 2.617 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.1817, allocations: 190 kB / 375 MB, free: 2.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1817, allocations: 4 kB / 375.1 MB, free: 2.426 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008025/0.1825, allocations: 159.5 kB / 375.2 MB, free: 2.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001983/0.1845, allocations: 1.178 MB / 376.4 MB, free: 1.059 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.186, allocations: 0.845 MB / 377.2 MB, free: 168 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.186, allocations: 4.875 kB / 377.2 MB, free: 164 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005303/0.1865, allocations: 353.2 kB / 377.6 MB, free: 15.79 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.1869, allocations: 44.53 kB / 377.6 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004503/0.1915, allocations: 3.903 MB / 381.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.1919, allocations: 0.7764 MB / 382.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001633/0.1921, allocations: 34.97 kB / 382.3 MB, free: 10.9 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.1922, allocations: 83.41 kB / 382.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1922, allocations: 0 / 382.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.2128, allocations: 6.702 MB / 389.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.213, allocations: 221.1 kB / 389.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.075/2.288, allocations: 0 / 389.3 MB, free: 4.098 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat does not exist to compare? outputFormat=mat