Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",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.0008406/0.0008407, allocations: 90.81 kB / 16.31 MB, free: 5.531 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.0009461/0.0009463, allocations: 181.1 kB / 17.2 MB, free: 5.469 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.491/1.491, allocations: 223.2 MB / 241.2 MB, free: 220 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002951/0.0002952, allocations: 4 kB / 300.9 MB, free: 6.324 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1253, allocations: 50.41 MB / 351.3 MB, free: 3.902 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003184/0.1285, allocations: 2.379 MB / 353.7 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1297, allocations: 0.5846 MB / 354.3 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.1299, allocations: 4 kB / 354.3 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.1301, allocations: 35.75 kB / 354.3 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.1302, allocations: 83.36 kB / 354.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.1305, allocations: 59.88 kB / 354.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003413/0.1308, allocations: 319 kB / 354.8 MB, free: 436 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002681/0.1311, allocations: 106.4 kB / 354.9 MB, free: 324 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.1312, allocations: 103.6 kB / 355 MB, free: 220 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.1314, allocations: 127.4 kB / 355.1 MB, free: 92 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.1315, allocations: 16 kB / 355.1 MB, free: 76 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.031e-05/0.1315, allocations: 16 kB / 355.1 MB, free: 60 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.1316, allocations: 47.83 kB / 355.2 MB, free: 12 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.097e-05/0.1317, allocations: 81.56 kB / 355.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.1319, allocations: 267.4 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.1319, allocations: 0 / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1319, allocations: 4 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.1319, allocations: 0 / 355.5 MB, free: 15.66 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008062/0.1327, allocations: 0.534 MB / 356.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.1328, allocations: 12.03 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.523e-05/0.1329, allocations: 70.48 kB / 356.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.197e-05/0.133, allocations: 39.56 kB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.1333, allocations: 250.5 kB / 356.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.1333, allocations: 20.56 kB / 356.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.1334, allocations: 28 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/0.1339, allocations: 244.9 kB / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1339, allocations: 7.984 kB / 356.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.1339, allocations: 12 kB / 356.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.1339, allocations: 11.95 kB / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.1343, allocations: 186.2 kB / 356.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.1358, allocations: 1.025 MB / 358 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/0.1363, allocations: 329.4 kB / 358.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.1365, allocations: 157.3 kB / 358.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.1366, allocations: 8.188 kB / 358.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.1366, allocations: 34.75 kB / 358.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.033e-06/0.1366, allocations: 0 / 358.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001452/0.1381, allocations: 0.781 MB / 359.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1381, allocations: 51.41 kB / 359.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1383, allocations: 198.1 kB / 359.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.1383, allocations: 29.7 kB / 359.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.679e-05/0.1384, allocations: 172.3 kB / 359.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.084e-05/0.1385, allocations: 94.64 kB / 359.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.1385, allocations: 4 kB / 359.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1387, allocations: 334.8 kB / 360.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.1388, allocations: 76.53 kB / 360.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.139, allocations: 95.64 kB / 360.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1391, allocations: 88.52 kB / 360.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1391, allocations: 0 / 360.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005059/0.1396, allocations: 322.1 kB / 360.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1397, allocations: 8.031 kB / 360.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.1397, allocations: 0 / 360.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/0.1399, allocations: 88.75 kB / 360.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.1401, allocations: 47.97 kB / 360.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.1421, allocations: 1.904 MB / 362.7 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.1422, allocations: 12.02 kB / 362.7 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1422, allocations: 8 kB / 362.8 MB, free: 7.961 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.1424, allocations: 137.8 kB / 362.9 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.1424, allocations: 19.81 kB / 362.9 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.1425, allocations: 37.8 kB / 362.9 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1425, allocations: 8.062 kB / 363 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.1425, allocations: 0 / 363 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1425, allocations: 4 kB / 363 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.1436, allocations: 0.7451 MB / 363.7 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1436, allocations: 3.938 kB / 363.7 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.1438, allocations: 39.98 kB / 363.7 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001892/0.144, allocations: 72.73 kB / 363.8 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.144, allocations: 4 kB / 363.8 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.1457, allocations: 1.784 MB / 365.6 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1457, allocations: 3.938 kB / 365.6 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006405/0.1463, allocations: 471.9 kB / 366.1 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/0.1464, allocations: 88.92 kB / 366.2 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.1465, allocations: 8.062 kB / 366.2 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.1466, allocations: 15.98 kB / 366.2 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.1467, allocations: 23.91 kB / 366.2 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1467, allocations: 8 kB / 366.2 MB, free: 4.262 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.1468, allocations: 148.3 kB / 366.4 MB, free: 4.117 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1468, allocations: 0 / 366.4 MB, free: 4.117 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004351/0.1473, allocations: 76 kB / 366.4 MB, free: 4.043 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001018/0.1483, allocations: 0.9943 MB / 367.4 MB, free: 3.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006956/0.149, allocations: 374.4 kB / 367.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.149, allocations: 3.938 kB / 367.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.1494, allocations: 262.9 kB / 368 MB, free: 2.367 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.1499, allocations: 40.17 kB / 368.1 MB, free: 2.328 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.1524, allocations: 1.79 MB / 369.9 MB, free: 488 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2711/0.4235, allocations: 0.7611 MB / 370.6 MB, free: 23.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002057/0.4238, allocations: 19.98 kB / 370.7 MB, free: 23.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.424, allocations: 80.28 kB / 370.7 MB, free: 23.74 MB / 302.1 MB Notification: Performance of SimCode: time 1.813e-06/0.424, allocations: 0 / 370.7 MB, free: 23.74 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.4458, allocations: 5.143 MB / 375.9 MB, free: 23.49 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.4461, allocations: 213.5 kB / 376.1 MB, free: 23.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/2.437, allocations: 0.9375 kB / 376.1 MB, free: 23.25 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat does not exist to compare? outputFormat=mat