Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_3_2_3_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.0008568/0.0008569, allocations: 97.67 kB / 16.95 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.0009511/0.0009511, allocations: 183.4 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004987/0.0004987, allocations: 12 kB / 280.9 MB, free: 3.617 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1158, allocations: 47.58 MB / 328.5 MB, free: 3.969 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003419/0.1193, allocations: 2.404 MB / 330.9 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1206, allocations: 0.718 MB / 331.6 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.1207, allocations: 4 kB / 331.6 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.1209, allocations: 31.7 kB / 331.6 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.1211, allocations: 83.36 kB / 331.7 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.1213, allocations: 71.86 kB / 331.8 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.1217, allocations: 350.5 kB / 332.1 MB, free: 296 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.1219, allocations: 73.05 kB / 332.2 MB, free: 228 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.1221, allocations: 127.5 kB / 332.3 MB, free: 100 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.1223, allocations: 143.4 kB / 332.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.1223, allocations: 20 kB / 332.5 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.253e-05/0.1224, allocations: 16 kB / 332.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.1225, allocations: 55.75 kB / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.81e-05/0.1226, allocations: 73.58 kB / 332.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.1228, allocations: 263.5 kB / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1228, allocations: 0 / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1228, allocations: 0 / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1228, allocations: 0 / 332.9 MB, free: 15.53 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001266/0.1241, allocations: 0.634 MB / 333.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.1242, allocations: 8.031 kB / 333.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.013e-05/0.1243, allocations: 58.55 kB / 333.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.666e-05/0.1244, allocations: 31.62 kB / 333.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.1248, allocations: 275.6 kB / 333.9 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.1248, allocations: 20.55 kB / 333.9 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.1249, allocations: 27.94 kB / 333.9 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006461/0.1255, allocations: 280.8 kB / 334.2 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1256, allocations: 3.984 kB / 334.2 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.1256, allocations: 8 kB / 334.2 MB, free: 14.08 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.1256, allocations: 12 kB / 334.2 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007668/0.1264, allocations: 298 kB / 334.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.128, allocations: 0.9143 MB / 335.4 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.1291, allocations: 391.7 kB / 335.8 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/0.1294, allocations: 144.8 kB / 335.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.1295, allocations: 4 kB / 335.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000468/0.13, allocations: 201.7 kB / 336.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 2.024e-06/0.13, allocations: 4.094 kB / 336.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001817/0.1318, allocations: 0.6891 MB / 336.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.569e-05/0.1319, allocations: 110.8 kB / 336.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.1322, allocations: 266.5 kB / 337.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.1322, allocations: 37.7 kB / 337.2 MB, free: 10.86 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.1324, allocations: 179.9 kB / 337.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.254e-05/0.1324, allocations: 59.19 kB / 337.5 MB, free: 10.62 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/0.1325, allocations: 8 kB / 337.5 MB, free: 10.61 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1326, allocations: 338.8 kB / 337.8 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.1329, allocations: 116.2 kB / 337.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.1333, allocations: 180.3 kB / 338.1 MB, free: 9.953 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.1336, allocations: 149.8 kB / 338.2 MB, free: 9.801 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1336, allocations: 4 kB / 338.2 MB, free: 9.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001065/0.1347, allocations: 468.6 kB / 338.7 MB, free: 9.324 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.1348, allocations: 172 kB / 338.9 MB, free: 9.125 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.1349, allocations: 7.953 kB / 338.9 MB, free: 9.117 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/0.1352, allocations: 52.83 kB / 338.9 MB, free: 9.062 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.1354, allocations: 63.95 kB / 339 MB, free: 9 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.1371, allocations: 1.499 MB / 340.5 MB, free: 7.367 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.1374, allocations: 55.75 kB / 340.6 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.1374, allocations: 19.94 kB / 340.6 MB, free: 7.293 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.224e-06/0.1374, allocations: 4 kB / 340.6 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006879/0.1381, allocations: 331.2 kB / 340.9 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.1381, allocations: 0 / 340.9 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.197e-05/0.1382, allocations: 24.84 kB / 340.9 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.1384, allocations: 63.92 kB / 341 MB, free: 6.867 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.1395, allocations: 1.388 MB / 342.4 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.1398, allocations: 47.91 kB / 342.4 MB, free: 5.293 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.1398, allocations: 8 kB / 342.4 MB, free: 5.285 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.14, allocations: 217.1 kB / 342.6 MB, free: 5.062 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.14, allocations: 27.77 kB / 342.7 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.425e-05/0.1401, allocations: 34.16 kB / 342.7 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1401, allocations: 4 kB / 342.7 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.1401, allocations: 0 / 342.7 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1401, allocations: 4 kB / 342.7 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.1414, allocations: 0.7573 MB / 343.5 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1414, allocations: 4 kB / 343.5 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.1416, allocations: 51.98 kB / 343.5 MB, free: 4.125 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001544/0.1418, allocations: 52.83 kB / 343.6 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.1418, allocations: 3.984 kB / 343.6 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.1433, allocations: 1.495 MB / 345.1 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.1433, allocations: 0 / 345.1 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.1445, allocations: 0.574 MB / 345.6 MB, free: 1.844 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.109e-05/0.1446, allocations: 108.8 kB / 345.7 MB, free: 1.719 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.1446, allocations: 7.953 kB / 345.8 MB, free: 1.711 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.1449, allocations: 40.03 kB / 345.8 MB, free: 1.672 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.145, allocations: 20.11 kB / 345.8 MB, free: 1.652 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.145, allocations: 11.98 kB / 345.8 MB, free: 1.641 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.1452, allocations: 186 kB / 346 MB, free: 1.461 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1452, allocations: 0 / 346 MB, free: 1.461 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005631/0.1458, allocations: 127.8 kB / 346.1 MB, free: 1.336 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001555/0.1474, allocations: 1.12 MB / 347.3 MB, free: 188 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.1488, allocations: 0.7433 MB / 348 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1488, allocations: 3.938 kB / 348 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004398/0.1492, allocations: 246.8 kB / 348.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.1497, allocations: 59.69 kB / 348.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/0.1531, allocations: 1.847 MB / 350.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.1535, allocations: 0.7599 MB / 350.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.1536, allocations: 30.28 kB / 350.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.1538, allocations: 83.41 kB / 351 MB, free: 12.26 MB / 302.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1538, allocations: 0 / 351 MB, free: 12.26 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.1733, allocations: 6.173 MB / 357.2 MB, free: 6.078 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/0.1736, allocations: 220.9 kB / 357.4 MB, free: 5.836 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/2.38, allocations: 0 / 357.4 MB, free: 5.836 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat does not exist to compare? outputFormat=mat