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.0009937/0.0009934, allocations: 92.41 kB / 16.94 MB, free: 5.977 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.0008901/0.0008902, allocations: 184.8 kB / 17.83 MB, free: 5.641 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.45/1.45, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004908/0.0004913, allocations: 20 kB / 280.9 MB, free: 3.637 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09516/0.09566, allocations: 47.57 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003245/0.09896, allocations: 2.284 MB / 330.7 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.1005, allocations: 0.7376 MB / 331.5 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.1008, allocations: 4 kB / 331.5 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.408e-05/0.1009, allocations: 39.69 kB / 331.5 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.1011, allocations: 107.7 kB / 331.6 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.1015, allocations: 75.78 kB / 331.7 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.1018, allocations: 243.5 kB / 331.9 MB, free: 500 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.102, allocations: 89.02 kB / 332 MB, free: 416 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.1022, allocations: 119.5 kB / 332.1 MB, free: 296 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.1024, allocations: 143.4 kB / 332.3 MB, free: 152 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.1025, allocations: 23.94 kB / 332.3 MB, free: 128 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.454e-05/0.1025, allocations: 16 kB / 332.3 MB, free: 112 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.1026, allocations: 43.83 kB / 332.3 MB, free: 68 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.502e-05/0.1027, allocations: 77.66 kB / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.103, allocations: 259.4 kB / 332.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.103, allocations: 0 / 332.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.103, allocations: 4 kB / 332.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.103, allocations: 0 / 332.7 MB, free: 15.73 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.001223/0.1042, allocations: 0.634 MB / 333.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1043, allocations: 8.031 kB / 333.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.029e-05/0.1044, allocations: 58.55 kB / 333.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.185e-05/0.1044, allocations: 35.62 kB / 333.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.1048, allocations: 275.6 kB / 333.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.1049, allocations: 16.56 kB / 333.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.1049, allocations: 27.98 kB / 333.7 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006745/0.1056, allocations: 284.7 kB / 334 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1057, allocations: 0 / 334 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.1057, allocations: 8 kB / 334 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.1057, allocations: 8 kB / 334 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008171/0.1065, allocations: 302 kB / 334.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.1084, allocations: 0.9104 MB / 335.2 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000979/0.1094, allocations: 395.7 kB / 335.6 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.1095, allocations: 0 / 335.6 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006158/0.1101, allocations: 197.8 kB / 335.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 4.028e-06/0.1101, allocations: 0 / 335.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002161/0.1123, allocations: 0.6897 MB / 336.5 MB, free: 11.65 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/0.1124, allocations: 110.8 kB / 336.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.1127, allocations: 262.5 kB / 336.9 MB, free: 11.26 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.1128, allocations: 33.8 kB / 336.9 MB, free: 11.22 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.1129, allocations: 183.9 kB / 337.1 MB, free: 11.03 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.178e-05/0.113, allocations: 55.11 kB / 337.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/0.113, allocations: 8 kB / 337.1 MB, free: 10.97 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1132, allocations: 342.7 kB / 337.5 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.1135, allocations: 116.2 kB / 337.6 MB, free: 10.51 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.1139, allocations: 184.3 kB / 337.8 MB, free: 10.3 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.1143, allocations: 149.9 kB / 337.9 MB, free: 10.15 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1143, allocations: 0 / 337.9 MB, free: 10.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001149/0.1155, allocations: 480.5 kB / 338.4 MB, free: 9.668 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004801/0.1159, allocations: 0.6415 MB / 339 MB, free: 8.973 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.116, allocations: 3.953 kB / 339 MB, free: 8.969 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003631/0.1163, allocations: 60.83 kB / 339.1 MB, free: 8.906 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.1167, allocations: 67.89 kB / 339.1 MB, free: 8.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.1188, allocations: 1.527 MB / 340.7 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.1192, allocations: 51.72 kB / 340.7 MB, free: 7.129 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.1192, allocations: 8 kB / 340.7 MB, free: 7.121 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.1193, allocations: 4 kB / 340.7 MB, free: 7.117 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000761/0.12, allocations: 339.2 kB / 341.1 MB, free: 6.777 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.12, allocations: 4 kB / 341.1 MB, free: 6.773 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.737e-05/0.1201, allocations: 24.84 kB / 341.1 MB, free: 6.746 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.1204, allocations: 67.92 kB / 341.2 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.1217, allocations: 1.385 MB / 342.5 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.1221, allocations: 51.91 kB / 342.6 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.1221, allocations: 8 kB / 342.6 MB, free: 5.098 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.000262/0.1224, allocations: 213.1 kB / 342.8 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.1224, allocations: 27.67 kB / 342.8 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.377e-05/0.1225, allocations: 30.17 kB / 342.9 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1225, allocations: 4 kB / 342.9 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1225, allocations: 0 / 342.9 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1225, allocations: 4 kB / 342.9 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.1239, allocations: 0.7496 MB / 343.6 MB, free: 4.008 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1239, allocations: 0 / 343.6 MB, free: 4.008 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.1241, allocations: 59.92 kB / 343.7 MB, free: 3.949 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001857/0.1243, allocations: 48.83 kB / 343.7 MB, free: 3.898 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.1244, allocations: 11.98 kB / 343.7 MB, free: 3.887 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.1262, allocations: 1.511 MB / 345.2 MB, free: 2.242 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1262, allocations: 0 / 345.2 MB, free: 2.242 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.1275, allocations: 0.5913 MB / 345.8 MB, free: 1.625 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.673e-05/0.1276, allocations: 100.8 kB / 345.9 MB, free: 1.508 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.395e-05/0.1277, allocations: 12.05 kB / 346 MB, free: 1.496 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.128, allocations: 35.97 kB / 346 MB, free: 1.461 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.436e-05/0.1281, allocations: 31.91 kB / 346 MB, free: 1.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.1281, allocations: 4 kB / 346 MB, free: 1.426 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002591/0.1284, allocations: 190 kB / 346.2 MB, free: 1.242 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1284, allocations: 4 kB / 346.2 MB, free: 1.238 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005957/0.129, allocations: 131.7 kB / 346.3 MB, free: 1.109 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.001613/0.1306, allocations: 1.19 MB / 347.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.1321, allocations: 0.7469 MB / 348.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1321, allocations: 0 / 348.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004861/0.1326, allocations: 258.9 kB / 348.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.133, allocations: 40.53 kB / 348.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004177/0.1372, allocations: 2.76 MB / 351.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.1376, allocations: 0.7638 MB / 352.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.1377, allocations: 30.28 kB / 352.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.1379, allocations: 79.41 kB / 352.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1379, allocations: 4 kB / 352.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.1578, allocations: 6.119 MB / 358.3 MB, free: 4.914 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/0.1581, allocations: 219.7 kB / 358.5 MB, free: 4.668 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.056, allocations: 3.938 kB / 358.5 MB, free: 4.664 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