Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",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.0008654/0.0008654, allocations: 90.12 kB / 16.31 MB, free: 6.461 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.000871/0.000871, allocations: 182.5 kB / 17.21 MB, free: 6.336 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.585/1.585, allocations: 223.2 MB / 241.2 MB, free: 5.445 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003137, allocations: 10.27 kB / 300.9 MB, free: 6.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1545, allocations: 50.43 MB / 351.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004158/0.1587, allocations: 2.623 MB / 354 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1602, allocations: 0.7329 MB / 354.7 MB, free: 8.211 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.1603, allocations: 8 kB / 354.7 MB, free: 8.203 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.1605, allocations: 35.69 kB / 354.8 MB, free: 8.168 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.1607, allocations: 95.3 kB / 354.8 MB, free: 8.074 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.161, allocations: 83.83 kB / 354.9 MB, free: 7.992 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004405/0.1615, allocations: 406.2 kB / 355.3 MB, free: 7.594 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.1617, allocations: 102.3 kB / 355.4 MB, free: 7.488 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.162, allocations: 143.4 kB / 355.6 MB, free: 7.348 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.1622, allocations: 159.3 kB / 355.7 MB, free: 7.191 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5e-05/0.1623, allocations: 20 kB / 355.7 MB, free: 7.172 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.365e-05/0.1623, allocations: 16 kB / 355.8 MB, free: 7.156 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/0.1624, allocations: 55.75 kB / 355.8 MB, free: 7.102 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.746e-05/0.1625, allocations: 93.52 kB / 355.9 MB, free: 7.004 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.1629, allocations: 378.9 kB / 356.3 MB, free: 6.633 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1629, allocations: 0 / 356.3 MB, free: 6.633 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1629, allocations: 4 kB / 356.3 MB, free: 6.629 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1629, allocations: 0 / 356.3 MB, free: 6.629 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001363/0.1643, allocations: 0.6719 MB / 356.9 MB, free: 5.902 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.1644, allocations: 8.031 kB / 357 MB, free: 5.895 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.794e-05/0.1645, allocations: 74.47 kB / 357 MB, free: 5.812 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.825e-05/0.1646, allocations: 31.62 kB / 357.1 MB, free: 5.781 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.165, allocations: 297.5 kB / 357.3 MB, free: 5.453 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.1651, allocations: 20.56 kB / 357.4 MB, free: 5.434 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.1651, allocations: 28 kB / 357.4 MB, free: 5.406 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007859/0.1659, allocations: 363.6 kB / 357.8 MB, free: 5.043 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1659, allocations: 0 / 357.8 MB, free: 5.043 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.166, allocations: 15.95 kB / 357.8 MB, free: 5.027 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.166, allocations: 4 kB / 357.8 MB, free: 5.023 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007948/0.1668, allocations: 334 kB / 358.1 MB, free: 4.695 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.169, allocations: 1.325 MB / 359.4 MB, free: 3.281 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/0.1697, allocations: 262.4 kB / 359.7 MB, free: 3.016 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.1701, allocations: 124.8 kB / 359.8 MB, free: 2.891 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.1701, allocations: 4 kB / 359.8 MB, free: 2.887 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005249/0.1706, allocations: 207.9 kB / 360 MB, free: 2.664 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.1706, allocations: 0 / 360 MB, free: 2.664 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002301/0.173, allocations: 0.7644 MB / 360.8 MB, free: 1.871 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/0.1731, allocations: 102.8 kB / 360.9 MB, free: 1.746 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.1734, allocations: 294.9 kB / 361.2 MB, free: 1.449 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.1735, allocations: 29.7 kB / 361.2 MB, free: 1.414 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.1736, allocations: 211.5 kB / 361.4 MB, free: 1.203 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.1737, allocations: 47.36 kB / 361.4 MB, free: 1.156 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.1737, allocations: 7.938 kB / 361.4 MB, free: 1.148 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1739, allocations: 334.8 kB / 361.8 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.1742, allocations: 127.9 kB / 361.9 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.1747, allocations: 232.1 kB / 362.1 MB, free: 428 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/0.1751, allocations: 164 kB / 362.3 MB, free: 260 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1751, allocations: 4 kB / 362.3 MB, free: 256 kB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00126/0.1763, allocations: 0.523 MB / 362.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.048e-05/0.1764, allocations: 29.7 kB / 362.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.1764, allocations: 4 kB / 362.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004133/0.1768, allocations: 88.8 kB / 362.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.1771, allocations: 59.97 kB / 363 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/0.1797, allocations: 1.846 MB / 364.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.18, allocations: 59.86 kB / 364.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.1801, allocations: 16 kB / 364.9 MB, free: 13.46 MB / 302.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002064/0.1803, allocations: 153.8 kB / 365.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.1804, allocations: 27.62 kB / 365.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.626e-05/0.1804, allocations: 29.86 kB / 365.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1804, allocations: 0 / 365.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1804, allocations: 0 / 365.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1804, allocations: 3.953 kB / 365.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.1809, allocations: 345.4 kB / 365.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1809, allocations: 0 / 365.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.1811, allocations: 35.97 kB / 365.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002578/0.1814, allocations: 88.8 kB / 365.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1814, allocations: 0 / 365.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/0.1835, allocations: 1.718 MB / 367.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1835, allocations: 0 / 367.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.1849, allocations: 0.5464 MB / 367.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/0.185, allocations: 104.8 kB / 367.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.1851, allocations: 8 kB / 368 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.1853, allocations: 44.02 kB / 368 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/0.1854, allocations: 23.91 kB / 368 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.1854, allocations: 8 kB / 368 MB, free: 10.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002335/0.1857, allocations: 206 kB / 368.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1857, allocations: 0 / 368.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004053/0.1861, allocations: 87.78 kB / 368.3 MB, free: 9.82 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * 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 (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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001766/0.1879, allocations: 1.096 MB / 369.4 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.1889, allocations: 477.8 kB / 369.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1889, allocations: 0 / 369.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004697/0.1894, allocations: 259.1 kB / 370.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.1898, allocations: 54.73 kB / 370.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003789/0.1936, allocations: 1.983 MB / 372.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.194, allocations: 0.7682 MB / 372.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.1942, allocations: 30.95 kB / 373 MB, free: 5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.1944, allocations: 91.41 kB / 373.1 MB, free: 4.91 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1944, allocations: 0 / 373.1 MB, free: 4.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.2154, allocations: 6.54 MB / 379.6 MB, free: 14.57 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.2156, allocations: 226.1 kB / 379.8 MB, free: 14.33 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.167, allocations: 0 / 379.8 MB, free: 14.33 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat does not exist to compare? outputFormat=mat