Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",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.000909/0.000909, allocations: 86.44 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.0009117/0.0009118, allocations: 183.8 kB / 17.21 MB, free: 6.316 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.653/1.653, allocations: 223.3 MB / 241.2 MB, free: 5.242 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004547, allocations: 7.469 kB / 300.9 MB, free: 5.523 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1477, allocations: 50.42 MB / 351.4 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003878/0.1516, allocations: 2.627 MB / 354 MB, free: 8.605 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.1535, allocations: 0.7328 MB / 354.7 MB, free: 7.871 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004025/0.1539, allocations: 4 kB / 354.7 MB, free: 7.867 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.1542, allocations: 39.69 kB / 354.8 MB, free: 7.828 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004099/0.1547, allocations: 91.3 kB / 354.8 MB, free: 7.738 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.1551, allocations: 87.83 kB / 354.9 MB, free: 7.652 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007034/0.1558, allocations: 414.2 kB / 355.3 MB, free: 7.246 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00032/0.1562, allocations: 102.6 kB / 355.4 MB, free: 7.141 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004417/0.1566, allocations: 139.4 kB / 355.6 MB, free: 7.004 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.157, allocations: 159.3 kB / 355.7 MB, free: 6.848 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.421e-05/0.1571, allocations: 20 kB / 355.7 MB, free: 6.828 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.535e-05/0.1572, allocations: 20 kB / 355.8 MB, free: 6.809 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.87e-05/0.1572, allocations: 55.75 kB / 355.8 MB, free: 6.754 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.1574, allocations: 89.52 kB / 355.9 MB, free: 6.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.1578, allocations: 382.9 kB / 356.3 MB, free: 6.285 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1578, allocations: 4 kB / 356.3 MB, free: 6.281 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1578, allocations: 0 / 356.3 MB, free: 6.281 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1579, allocations: 0 / 356.3 MB, free: 6.281 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.001282/0.1591, allocations: 0.6718 MB / 357 MB, free: 5.555 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1592, allocations: 12.03 kB / 357 MB, free: 5.543 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.926e-05/0.1593, allocations: 70.47 kB / 357 MB, free: 5.465 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.125e-05/0.1594, allocations: 35.62 kB / 357.1 MB, free: 5.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.1598, allocations: 297.5 kB / 357.4 MB, free: 5.102 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.1598, allocations: 20.56 kB / 357.4 MB, free: 5.082 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.1599, allocations: 28 kB / 357.4 MB, free: 5.055 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007831/0.1607, allocations: 359.6 kB / 357.8 MB, free: 4.695 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1607, allocations: 4 kB / 357.8 MB, free: 4.691 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.1607, allocations: 11.95 kB / 357.8 MB, free: 4.68 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.1607, allocations: 8 kB / 357.8 MB, free: 4.672 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008509/0.1616, allocations: 338 kB / 358.1 MB, free: 4.34 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.1639, allocations: 1.314 MB / 359.4 MB, free: 2.941 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007907/0.1647, allocations: 363.5 kB / 359.8 MB, free: 2.559 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000401/0.1652, allocations: 156.8 kB / 359.9 MB, free: 2.402 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.1652, allocations: 0 / 359.9 MB, free: 2.402 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005332/0.1657, allocations: 220.1 kB / 360.2 MB, free: 2.168 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.1657, allocations: 4 kB / 360.2 MB, free: 2.164 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.002017/0.1678, allocations: 0.702 MB / 360.9 MB, free: 1.434 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.347e-05/0.1679, allocations: 106.8 kB / 361 MB, free: 1.305 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.1682, allocations: 299.1 kB / 361.3 MB, free: 1.008 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.1682, allocations: 33.7 kB / 361.3 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.1684, allocations: 207.9 kB / 361.5 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/0.1685, allocations: 51.27 kB / 361.5 MB, free: 0.707 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.1685, allocations: 4 kB / 361.5 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1687, allocations: 346.8 kB / 361.9 MB, free: 364 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.169, allocations: 132.1 kB / 362 MB, free: 228 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/0.1694, allocations: 228.7 kB / 362.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.1698, allocations: 172.8 kB / 362.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.1699, allocations: 4 kB / 362.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001202/0.1711, allocations: 0.5093 MB / 362.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.206e-05/0.1711, allocations: 33.7 kB / 362.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.1712, allocations: 4 kB / 363 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003662/0.1715, allocations: 72.88 kB / 363 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.1719, allocations: 71.89 kB / 363.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/0.1746, allocations: 1.752 MB / 364.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.175, allocations: 71.75 kB / 364.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.175, allocations: 12 kB / 364.9 MB, free: 13.1 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 (31): * Single equations (assignments): 29 * 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.0002324/0.1753, allocations: 159.3 kB / 365.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-05/0.1753, allocations: 27.72 kB / 365.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.1754, allocations: 38.16 kB / 365.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1754, allocations: 4 kB / 365.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1754, allocations: 3.938 kB / 365.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1754, allocations: 0 / 365.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.1771, allocations: 0.8317 MB / 366 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.1771, allocations: 3.938 kB / 366 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.1773, allocations: 47.95 kB / 366 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002553/0.1776, allocations: 68.84 kB / 366.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.1776, allocations: 7.938 kB / 366.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.1795, allocations: 1.546 MB / 367.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1795, allocations: 0 / 367.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.1809, allocations: 0.6199 MB / 368.3 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.1811, allocations: 108.8 kB / 368.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.1811, allocations: 4.062 kB / 368.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.1814, allocations: 43.95 kB / 368.4 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.1815, allocations: 23.97 kB / 368.5 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.1815, allocations: 4 kB / 368.5 MB, free: 9.328 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000242/0.1818, allocations: 214 kB / 368.7 MB, free: 9.117 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1818, allocations: 0 / 368.7 MB, free: 9.117 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004618/0.1822, allocations: 83.7 kB / 368.8 MB, free: 9.035 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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 (16): * Single equations (assignments): 13 * 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.001769/0.184, allocations: 1.157 MB / 369.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.1853, allocations: 0.5393 MB / 370.4 MB, free: 7.285 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1853, allocations: 8.188 kB / 370.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004588/0.1858, allocations: 249 kB / 370.7 MB, free: 7.023 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.1863, allocations: 59.2 kB / 370.8 MB, free: 6.969 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005202/0.1915, allocations: 2.287 MB / 373 MB, free: 4.594 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.1919, allocations: 0.7639 MB / 373.8 MB, free: 3.801 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.1921, allocations: 34.95 kB / 373.8 MB, free: 3.762 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.1922, allocations: 99.41 kB / 373.9 MB, free: 3.664 MB / 302.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1923, allocations: 0 / 373.9 MB, free: 3.664 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.2131, allocations: 6.346 MB / 380.3 MB, free: 13.51 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003199/0.2135, allocations: 221.3 kB / 380.5 MB, free: 13.27 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/2.239, allocations: 6.453 kB / 380.5 MB, free: 13.27 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat does not exist to compare? outputFormat=mat