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.001063/0.001063, allocations: 86.16 kB / 16.31 MB, free: 6.449 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.001124/0.001124, allocations: 178.6 kB / 17.21 MB, free: 6.32 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.443/1.443, allocations: 223.2 MB / 241.2 MB, free: 328 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003691, allocations: 8 kB / 300.9 MB, free: 6.336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1556, allocations: 50.41 MB / 351.3 MB, free: 3.906 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004357/0.16, allocations: 2.492 MB / 353.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1618, allocations: 0.7015 MB / 354.5 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.162, allocations: 4 kB / 354.5 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.1622, allocations: 51.61 kB / 354.6 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.1625, allocations: 83.36 kB / 354.7 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.1629, allocations: 95.7 kB / 354.8 MB, free: 472 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005409/0.1634, allocations: 374.3 kB / 355.1 MB, free: 96 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003201/0.1638, allocations: 94.06 kB / 355.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.164, allocations: 123.5 kB / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.1643, allocations: 147.3 kB / 355.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.97e-05/0.1644, allocations: 16 kB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.297e-05/0.1644, allocations: 20 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.829e-05/0.1645, allocations: 51.77 kB / 355.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1646, allocations: 85.52 kB / 355.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003944/0.165, allocations: 279.4 kB / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.1651, allocations: 0 / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.121e-06/0.1651, allocations: 4 kB / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1651, allocations: 0 / 355.9 MB, free: 15.28 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001387/0.1665, allocations: 0.5847 MB / 356.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/0.1666, allocations: 8.031 kB / 356.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.1667, allocations: 74.47 kB / 356.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.1668, allocations: 35.61 kB / 356.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006684/0.1675, allocations: 286.1 kB / 356.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.1676, allocations: 24.66 kB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.361e-05/0.1676, allocations: 28 kB / 357 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.1687, allocations: 345 kB / 357.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.1687, allocations: 0 / 357.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.1688, allocations: 16 kB / 357.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.1688, allocations: 8 kB / 357.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009869/0.1698, allocations: 294.4 kB / 357.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.1727, allocations: 1.194 MB / 358.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.1741, allocations: 313.1 kB / 359.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006299/0.1747, allocations: 176.8 kB / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/0.1748, allocations: 3.938 kB / 359.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/0.1748, allocations: 42.5 kB / 359.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 3.477e-06/0.1749, allocations: 4 kB / 359.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.003688/0.1786, allocations: 0.8979 MB / 360.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.1787, allocations: 63.36 kB / 360.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005093/0.1792, allocations: 266.6 kB / 360.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.1793, allocations: 33.7 kB / 360.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.1795, allocations: 207.8 kB / 360.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.947e-05/0.1796, allocations: 67.08 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/0.1797, allocations: 4 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1799, allocations: 338.8 kB / 361.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004391/0.1803, allocations: 99.94 kB / 361.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000459/0.1808, allocations: 191.9 kB / 361.5 MB, free: 9.398 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.1812, allocations: 127.8 kB / 361.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1812, allocations: 3.938 kB / 361.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00207/0.1833, allocations: 0.5456 MB / 362.2 MB, free: 8.711 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002513/0.1836, allocations: 184.2 kB / 362.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.1836, allocations: 7.938 kB / 362.3 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008323/0.1845, allocations: 145.6 kB / 362.5 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.1848, allocations: 55.92 kB / 362.5 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007179/0.192, allocations: 3.481 MB / 366 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004352/0.1925, allocations: 43.67 kB / 366.1 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.1925, allocations: 15.98 kB / 366.1 MB, free: 4.469 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1925, allocations: 4 kB / 366.1 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00133/0.1939, allocations: 373.1 kB / 366.4 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.1939, allocations: 0 / 366.4 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004117/0.1943, allocations: 97.69 kB / 366.5 MB, free: 3.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.1947, allocations: 55.92 kB / 366.6 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/0.1988, allocations: 2.822 MB / 369.4 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.1992, allocations: 35.67 kB / 369.5 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.1992, allocations: 16 kB / 369.5 MB, free: 0.7969 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 (30): * Single equations (assignments): 28 * 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 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003102/0.1996, allocations: 221 kB / 369.7 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.105e-05/0.1997, allocations: 27.78 kB / 369.7 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.809e-05/0.1998, allocations: 34.17 kB / 369.7 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1998, allocations: 4 kB / 369.8 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.1998, allocations: 0 / 369.8 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1998, allocations: 0 / 369.8 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2043/0.4041, allocations: 0.8345 MB / 370.6 MB, free: 23.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.4041, allocations: 7.266 kB / 370.6 MB, free: 23.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.4043, allocations: 26.12 kB / 370.6 MB, free: 23.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005072/0.4048, allocations: 150.7 kB / 370.8 MB, free: 23.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.4048, allocations: 4.375 kB / 370.8 MB, free: 23.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003428/0.4083, allocations: 3.229 MB / 374 MB, free: 21.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4083, allocations: 3.562 kB / 374 MB, free: 21.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.4097, allocations: 0.6441 MB / 374.6 MB, free: 21.35 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.436e-05/0.4098, allocations: 103.6 kB / 374.7 MB, free: 21.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.4098, allocations: 5.016 kB / 374.8 MB, free: 21.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.4101, allocations: 35.8 kB / 374.8 MB, free: 21.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.4101, allocations: 18.31 kB / 374.8 MB, free: 21.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.4102, allocations: 11.47 kB / 374.8 MB, free: 21.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.4103, allocations: 189 kB / 375 MB, free: 21.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4104, allocations: 0 / 375 MB, free: 21.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006937/0.4111, allocations: 161.6 kB / 375.2 MB, free: 21.17 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 (13): * Single equations (assignments): 11 * 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 5,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001523/0.4126, allocations: 1.192 MB / 376.4 MB, free: 20.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.4141, allocations: 0.9128 MB / 377.3 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4141, allocations: 0 / 377.3 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00042/0.4145, allocations: 362.8 kB / 377.6 MB, free: 19.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.4149, allocations: 48.97 kB / 377.7 MB, free: 19.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.4182, allocations: 1.951 MB / 379.6 MB, free: 19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.4185, allocations: 0.7617 MB / 380.4 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.4186, allocations: 39.17 kB / 380.4 MB, free: 18.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.4187, allocations: 84.02 kB / 380.5 MB, free: 18.28 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4187, allocations: 0 / 380.5 MB, free: 18.28 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.4397, allocations: 6.836 MB / 387.3 MB, free: 16.73 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001334/0.4399, allocations: 223.7 kB / 387.6 MB, free: 16.49 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/2.486, allocations: 0 / 387.6 MB, free: 16.49 MB / 302.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