Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.HighPass,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_3_2_3_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.001111/0.001112, allocations: 92.84 kB / 16.95 MB, free: 6.891 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.000966/0.0009662, allocations: 186.5 kB / 17.84 MB, free: 6.137 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.843/1.843, 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.0005083/0.0005085, allocations: 19.44 kB / 280.9 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1215, allocations: 47.57 MB / 328.5 MB, free: 3.965 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003907/0.1255, allocations: 2.404 MB / 330.9 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.1278, allocations: 0.7179 MB / 331.6 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004912/0.1283, allocations: 4 kB / 331.6 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.1286, allocations: 39.69 kB / 331.6 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000474/0.1291, allocations: 75.39 kB / 331.7 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.1297, allocations: 79.83 kB / 331.8 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006969/0.1304, allocations: 346.4 kB / 332.1 MB, free: 288 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.1307, allocations: 77.05 kB / 332.2 MB, free: 216 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003995/0.1311, allocations: 123.5 kB / 332.3 MB, free: 92 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003415/0.1315, allocations: 143.4 kB / 332.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.1316, allocations: 20 kB / 332.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.123e-05/0.1317, allocations: 16 kB / 332.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.578e-05/0.1318, allocations: 51.77 kB / 332.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.132, allocations: 73.52 kB / 332.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.1325, allocations: 259.5 kB / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.1325, allocations: 4 kB / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1325, allocations: 0 / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.1325, 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.001715/0.1342, allocations: 0.6379 MB / 333.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/0.1343, allocations: 8.031 kB / 333.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.1345, allocations: 54.55 kB / 333.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.1346, allocations: 35.62 kB / 333.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/0.1353, allocations: 279.6 kB / 333.9 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.223e-05/0.1353, allocations: 16.5 kB / 333.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-05/0.1354, allocations: 27.94 kB / 333.9 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008888/0.1363, allocations: 276.8 kB / 334.2 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.1363, allocations: 0 / 334.2 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.1364, allocations: 12 kB / 334.2 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.1364, allocations: 4 kB / 334.2 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00092/0.1373, allocations: 306 kB / 334.5 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002256/0.1396, allocations: 0.9405 MB / 335.4 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007827/0.1404, allocations: 274.6 kB / 335.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.1408, allocations: 120.8 kB / 335.8 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.1408, allocations: 0 / 335.8 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005423/0.1413, allocations: 201.5 kB / 336 MB, free: 12.15 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.924e-06/0.1414, allocations: 0 / 336 MB, free: 12.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.00233/0.1437, allocations: 0.7409 MB / 336.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.1438, allocations: 106.8 kB / 336.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004146/0.1443, allocations: 262.6 kB / 337.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.11e-05/0.1443, allocations: 29.64 kB / 337.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.1445, allocations: 187.8 kB / 337.3 MB, free: 10.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.556e-05/0.1446, allocations: 59.19 kB / 337.4 MB, free: 10.71 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.506e-05/0.1446, allocations: 4 kB / 337.4 MB, free: 10.7 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.1449, allocations: 334.8 kB / 337.7 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.1452, allocations: 112.2 kB / 337.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.1456, allocations: 184 kB / 338 MB, free: 10.05 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.146, allocations: 146.4 kB / 338.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.146, allocations: 0 / 338.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001195/0.1472, allocations: 486.1 kB / 338.6 MB, free: 9.414 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002054/0.1474, allocations: 163.8 kB / 338.8 MB, free: 9.223 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.1475, allocations: 3.984 kB / 338.8 MB, free: 9.219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003579/0.1478, allocations: 76.8 kB / 338.9 MB, free: 9.141 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.1481, allocations: 51.91 kB / 338.9 MB, free: 9.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.1504, allocations: 1.752 MB / 340.7 MB, free: 7.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.1507, allocations: 51.81 kB / 340.7 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.1508, allocations: 12.05 kB / 340.7 MB, free: 7.137 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1508, allocations: 7.938 kB / 340.7 MB, free: 7.129 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008039/0.1516, allocations: 334.6 kB / 341.1 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1517, allocations: 0 / 341.1 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.1518, allocations: 40.97 kB / 341.1 MB, free: 6.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.152, allocations: 59.98 kB / 341.2 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.1537, allocations: 1.534 MB / 342.7 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.154, allocations: 43.81 kB / 342.7 MB, free: 4.977 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.154, allocations: 8 kB / 342.8 MB, free: 4.969 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 (21): * Single equations (assignments): 19 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003213/0.1544, allocations: 221.1 kB / 343 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/0.1545, allocations: 27.67 kB / 343 MB, free: 4.715 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.547e-05/0.1545, allocations: 34.16 kB / 343 MB, free: 4.68 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1545, allocations: 0 / 343 MB, free: 4.68 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1546, allocations: 0 / 343 MB, free: 4.68 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1546, allocations: 0 / 343 MB, free: 4.68 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.155, allocations: 309.3 kB / 343.3 MB, free: 4.328 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.155, allocations: 4 kB / 343.3 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.1552, allocations: 43.91 kB / 343.4 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002444/0.1555, allocations: 72.98 kB / 343.5 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.1555, allocations: 11.95 kB / 343.5 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.1576, allocations: 1.632 MB / 345.1 MB, free: 2.434 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1576, allocations: 0 / 345.1 MB, free: 2.434 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.1588, allocations: 0.4973 MB / 345.6 MB, free: 1.914 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.159, allocations: 100.9 kB / 345.7 MB, free: 1.797 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.159, allocations: 8 kB / 345.7 MB, free: 1.789 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.1593, allocations: 43.95 kB / 345.7 MB, free: 1.746 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.456e-05/0.1594, allocations: 19.97 kB / 345.8 MB, free: 1.727 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.1594, allocations: 8 kB / 345.8 MB, free: 1.719 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002275/0.1597, allocations: 190 kB / 346 MB, free: 1.535 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1597, allocations: 0 / 346 MB, free: 1.535 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006771/0.1603, allocations: 143.6 kB / 346.1 MB, free: 1.395 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001662/0.162, allocations: 1.032 MB / 347.1 MB, free: 336 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.1637, allocations: 0.7441 MB / 347.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.1637, allocations: 4.062 kB / 347.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005244/0.1642, allocations: 266.5 kB / 348.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.1646, allocations: 44.47 kB / 348.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.1684, allocations: 1.829 MB / 350 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.1689, allocations: 0.7561 MB / 350.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001791/0.1691, allocations: 26.28 kB / 350.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.1693, allocations: 83.41 kB / 350.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1693, allocations: 0 / 350.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.1966, allocations: 6.374 MB / 357.2 MB, free: 6.051 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/0.197, allocations: 218 kB / 357.5 MB, free: 5.812 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.235/2.432, allocations: 0 / 357.5 MB, free: 5.812 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass_res.mat does not exist to compare? outputFormat=mat