Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_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.0009497/0.0009497, allocations: 98.23 kB / 16.3 MB, free: 5.57 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.0009777/0.0009775, allocations: 184.2 kB / 17.2 MB, free: 5.504 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.472/1.472, allocations: 223.2 MB / 241.1 MB, free: 296 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002669/0.000267, allocations: 8 kB / 300.8 MB, free: 6.348 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1322, allocations: 50.42 MB / 351.2 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004502/0.1368, allocations: 2.489 MB / 353.7 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.1388, allocations: 0.7448 MB / 354.5 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003904/0.1392, allocations: 4 kB / 354.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.1394, allocations: 47.67 kB / 354.5 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00056/0.1399, allocations: 123.7 kB / 354.6 MB, free: 496 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.1404, allocations: 75.84 kB / 354.7 MB, free: 420 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006838/0.1411, allocations: 291.2 kB / 355 MB, free: 128 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/0.1414, allocations: 106.3 kB / 355.1 MB, free: 16 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004325/0.1418, allocations: 131.5 kB / 355.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003682/0.1422, allocations: 159.3 kB / 355.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.399e-05/0.1423, allocations: 20 kB / 355.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.992e-05/0.1424, allocations: 20 kB / 355.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.919e-05/0.1425, allocations: 55.81 kB / 355.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.1427, allocations: 89.52 kB / 355.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.1431, allocations: 391.1 kB / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1431, allocations: 3.938 kB / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1431, allocations: 0 / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.543e-05/0.1432, allocations: 0 / 356 MB, free: 15.16 MB / 302.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.001796/0.145, allocations: 0.6641 MB / 356.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.145, allocations: 15.95 kB / 356.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.1452, allocations: 62.55 kB / 356.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.1453, allocations: 39.53 kB / 356.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/0.1459, allocations: 297.5 kB / 357 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.1459, allocations: 24.56 kB / 357.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.95e-05/0.146, allocations: 28 kB / 357.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009153/0.1469, allocations: 363.5 kB / 357.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1469, allocations: 4 kB / 357.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.147, allocations: 11.95 kB / 357.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.147, allocations: 8 kB / 357.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009277/0.1479, allocations: 334 kB / 357.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.1506, allocations: 1.321 MB / 359.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/0.1514, allocations: 254.4 kB / 359.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.1515, allocations: 8 kB / 359.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006062/0.1521, allocations: 204.7 kB / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.435e-06/0.1521, allocations: 3.938 kB / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002625/0.1547, allocations: 0.7566 MB / 360.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.1549, allocations: 110.8 kB / 360.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005013/0.1554, allocations: 290.9 kB / 360.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.1554, allocations: 33.7 kB / 360.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.1557, allocations: 203.5 kB / 360.9 MB, free: 9.867 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.226e-05/0.1557, allocations: 55.23 kB / 361 MB, free: 9.812 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.1558, allocations: 4 kB / 361 MB, free: 9.809 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.156, allocations: 338.8 kB / 361.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/0.1564, allocations: 127.9 kB / 361.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.1568, allocations: 223.9 kB / 361.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/0.1573, allocations: 168.4 kB / 361.8 MB, free: 8.914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1573, allocations: 8 kB / 361.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001387/0.1587, allocations: 0.5191 MB / 362.4 MB, free: 8.371 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.613e-05/0.1587, allocations: 33.7 kB / 362.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.1588, allocations: 4 kB / 362.4 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004616/0.1592, allocations: 88.78 kB / 362.5 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.1595, allocations: 67.95 kB / 362.6 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/0.1625, allocations: 1.862 MB / 364.4 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004302/0.1629, allocations: 67.84 kB / 364.5 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.163, allocations: 16 kB / 364.5 MB, free: 6.086 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 (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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002672/0.1632, allocations: 153.8 kB / 364.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.1633, allocations: 23.72 kB / 364.7 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.305e-05/0.1634, allocations: 25.86 kB / 364.7 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1634, allocations: 4 kB / 364.7 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1634, allocations: 4 kB / 364.7 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1634, allocations: 3.953 kB / 364.7 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.1639, allocations: 341.4 kB / 365 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1639, allocations: 0 / 365 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.1641, allocations: 35.97 kB / 365.1 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003096/0.1644, allocations: 88.92 kB / 365.2 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.1644, allocations: 11.98 kB / 365.2 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002437/0.1669, allocations: 1.738 MB / 366.9 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1669, allocations: 3.938 kB / 366.9 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.1685, allocations: 0.5473 MB / 367.5 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.1686, allocations: 112.7 kB / 367.6 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.1687, allocations: 8 kB / 367.6 MB, free: 2.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.169, allocations: 31.97 kB / 367.6 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.1691, allocations: 32.02 kB / 367.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.1691, allocations: 0 / 367.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002639/0.1694, allocations: 210 kB / 367.9 MB, free: 2.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.304e-06/0.1694, allocations: 7.938 kB / 367.9 MB, free: 2.492 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000486/0.1699, allocations: 83.78 kB / 367.9 MB, free: 2.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001876/0.1718, allocations: 1.093 MB / 369 MB, free: 1.285 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.1729, allocations: 473.9 kB / 369.5 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1729, allocations: 0 / 369.5 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000505/0.1734, allocations: 259.1 kB / 369.8 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.1738, allocations: 40.86 kB / 369.8 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1976/0.3714, allocations: 3.643 MB / 373.4 MB, free: 22.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.3719, allocations: 0.7728 MB / 374.2 MB, free: 21.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.3721, allocations: 32.86 kB / 374.2 MB, free: 21.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.3723, allocations: 88.38 kB / 374.3 MB, free: 21.84 MB / 302.1 MB Notification: Performance of SimCode: time 1.743e-06/0.3723, allocations: 0 / 374.3 MB, free: 21.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.3966, allocations: 6.517 MB / 380.8 MB, free: 21.07 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/0.3968, allocations: 218.3 kB / 381.1 MB, free: 20.83 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/2.418, allocations: 0 / 381.1 MB, free: 20.83 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat does not exist to compare? outputFormat=mat