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.0009638/0.0009638, allocations: 92.27 kB / 16.3 MB, free: 5.996 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.0009523/0.0009523, allocations: 185 kB / 17.2 MB, free: 5.914 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.46/1.46, allocations: 223.2 MB / 241.1 MB, free: 5.355 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002968, allocations: 7.875 kB / 300.8 MB, free: 6.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1339, allocations: 50.42 MB / 351.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.002965/0.1369, allocations: 2.499 MB / 353.7 MB, free: 9.051 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1382, allocations: 0.7525 MB / 354.5 MB, free: 8.297 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.1383, allocations: 4 kB / 354.5 MB, free: 8.293 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.277e-05/0.1384, allocations: 39.67 kB / 354.5 MB, free: 8.254 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.1386, allocations: 119.7 kB / 354.7 MB, free: 8.137 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.1389, allocations: 91.77 kB / 354.7 MB, free: 8.047 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003464/0.1393, allocations: 279.4 kB / 355 MB, free: 7.773 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.1395, allocations: 106.6 kB / 355.1 MB, free: 7.664 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.1397, allocations: 147.5 kB / 355.3 MB, free: 7.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.1399, allocations: 151.3 kB / 355.4 MB, free: 7.371 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.523e-05/0.14, allocations: 20 kB / 355.4 MB, free: 7.352 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.266e-05/0.14, allocations: 24 kB / 355.5 MB, free: 7.328 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.1401, allocations: 59.75 kB / 355.5 MB, free: 7.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.515e-05/0.1402, allocations: 81.58 kB / 355.6 MB, free: 7.184 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.1405, allocations: 382.9 kB / 356 MB, free: 6.809 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1405, allocations: 4 kB / 356 MB, free: 6.805 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1405, allocations: 0 / 356 MB, free: 6.805 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1405, allocations: 3.938 kB / 356 MB, free: 6.801 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.001215/0.1418, allocations: 0.6795 MB / 356.7 MB, free: 6.066 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1418, allocations: 8.031 kB / 356.7 MB, free: 6.059 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.521e-05/0.1419, allocations: 66.53 kB / 356.7 MB, free: 5.984 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.021e-05/0.142, allocations: 35.62 kB / 356.8 MB, free: 5.949 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.1423, allocations: 309.4 kB / 357.1 MB, free: 5.609 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.1424, allocations: 20.56 kB / 357.1 MB, free: 5.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.1424, allocations: 28 kB / 357.1 MB, free: 5.562 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007401/0.1432, allocations: 363.6 kB / 357.5 MB, free: 5.199 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1432, allocations: 0 / 357.5 MB, free: 5.199 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.1432, allocations: 15.95 kB / 357.5 MB, free: 5.184 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.1432, allocations: 11.98 kB / 357.5 MB, free: 5.172 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000853/0.1441, allocations: 330 kB / 357.8 MB, free: 4.848 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.1462, allocations: 1.311 MB / 359.1 MB, free: 3.453 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008435/0.1471, allocations: 363.5 kB / 359.5 MB, free: 3.07 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.1471, allocations: 4 kB / 359.5 MB, free: 3.066 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005444/0.1477, allocations: 205.8 kB / 359.7 MB, free: 2.844 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 2.124e-06/0.1477, allocations: 0 / 359.7 MB, free: 2.844 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.002202/0.1499, allocations: 0.708 MB / 360.4 MB, free: 2.109 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.15, allocations: 110.8 kB / 360.5 MB, free: 1.977 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.1503, allocations: 291.2 kB / 360.8 MB, free: 1.688 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.1504, allocations: 37.69 kB / 360.8 MB, free: 1.645 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.1505, allocations: 211.9 kB / 361 MB, free: 1.43 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.1506, allocations: 63.19 kB / 361.1 MB, free: 1.367 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.1506, allocations: 4 kB / 361.1 MB, free: 1.363 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1507, allocations: 334.8 kB / 361.4 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.1511, allocations: 132.2 kB / 361.6 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.1515, allocations: 231.8 kB / 361.8 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.1519, allocations: 176.8 kB / 362 MB, free: 464 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.152, allocations: 3.938 kB / 362 MB, free: 460 kB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001302/0.1533, allocations: 0.5132 MB / 362.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.649e-05/0.1533, allocations: 33.7 kB / 362.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1533, allocations: 0 / 362.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003397/0.1537, allocations: 76.86 kB / 362.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.154, allocations: 75.89 kB / 362.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002712/0.1567, allocations: 1.771 MB / 364.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.1571, allocations: 75.73 kB / 364.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.1572, allocations: 8 kB / 364.5 MB, free: 13.74 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.0001924/0.1574, allocations: 149.9 kB / 364.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.1574, allocations: 27.66 kB / 364.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.796e-05/0.1575, allocations: 38.16 kB / 364.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1575, allocations: 0 / 364.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1575, allocations: 0 / 364.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1575, allocations: 0 / 364.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.1591, allocations: 0.8394 MB / 365.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1591, allocations: 0 / 365.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.1593, allocations: 51.98 kB / 365.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002353/0.1596, allocations: 68.81 kB / 365.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.1596, allocations: 8 kB / 365.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.1616, allocations: 1.566 MB / 367.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/0.1616, allocations: 4.031 kB / 367.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.1632, allocations: 0.6352 MB / 367.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.1633, allocations: 108.8 kB / 368 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.1634, allocations: 0 / 368 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.1637, allocations: 48.02 kB / 368 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.155e-05/0.1638, allocations: 19.97 kB / 368.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.1638, allocations: 7.953 kB / 368.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00026/0.1641, allocations: 210 kB / 368.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1641, allocations: 4 kB / 368.3 MB, free: 9.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004954/0.1646, allocations: 83.75 kB / 368.4 MB, free: 9.633 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.001896/0.1665, allocations: 1.245 MB / 369.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.1679, allocations: 0.5351 MB / 370.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.1679, allocations: 0.5625 kB / 370.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004714/0.1684, allocations: 258.5 kB / 370.4 MB, free: 7.531 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.1688, allocations: 52.83 kB / 370.4 MB, free: 7.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/0.1754, allocations: 4.008 MB / 374.4 MB, free: 3.371 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.1758, allocations: 0.7717 MB / 375.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001913/0.176, allocations: 34.95 kB / 375.3 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.1762, allocations: 95.41 kB / 375.3 MB, free: 2.438 MB / 302.1 MB Notification: Performance of SimCode: time 1.182e-06/0.1762, allocations: 0 / 375.3 MB, free: 2.438 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.195, allocations: 6.311 MB / 381.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.1953, allocations: 226.5 kB / 381.9 MB, free: 12.08 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.159, allocations: 4 kB / 381.9 MB, free: 12.07 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