Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009745/0.0009745, allocations: 98.84 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 198.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000252/0.000252, allocations: 8 kB / 306.7 MB, free: 1.285 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.135, allocations: 51.5 MB / 358.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003287/0.1383, allocations: 2.276 MB / 360.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.1396, allocations: 0.6393 MB / 361.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1398, allocations: 4 kB / 361.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.187e-05/0.1399, allocations: 35.69 kB / 361.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.1401, allocations: 107.7 kB / 361.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.1403, allocations: 55.94 kB / 361.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.1406, allocations: 239.9 kB / 361.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.1409, allocations: 110.2 kB / 361.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.141, allocations: 107.6 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.1412, allocations: 119.5 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.1413, allocations: 16 kB / 361.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.093e-05/0.1413, allocations: 16 kB / 361.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.1414, allocations: 55.75 kB / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.923e-05/0.1414, allocations: 77.58 kB / 362 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.1417, allocations: 263.5 kB / 362.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1417, allocations: 4 kB / 362.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1417, allocations: 0 / 362.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1417, allocations: 4 kB / 362.3 MB, free: 9.664 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.0008723/0.1426, allocations: 0.5379 MB / 362.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.1427, allocations: 16.02 kB / 362.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.241e-05/0.1428, allocations: 58.55 kB / 362.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/0.1428, allocations: 31.62 kB / 362.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.1431, allocations: 258.5 kB / 363.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.1432, allocations: 20.56 kB / 363.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.1432, allocations: 31.95 kB / 363.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.1437, allocations: 252.8 kB / 363.5 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1437, allocations: 4 kB / 363.5 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.1438, allocations: 11.94 kB / 363.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.1438, allocations: 11.94 kB / 363.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/0.1441, allocations: 182.2 kB / 363.7 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.1458, allocations: 1.022 MB / 364.7 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.1462, allocations: 329 kB / 365 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1463, allocations: 8.188 kB / 365 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1463, allocations: 34.75 kB / 365.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.823e-06/0.1463, allocations: 0 / 365.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001569/0.1479, allocations: 0.7886 MB / 365.9 MB, free: 5.812 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.1479, allocations: 55.41 kB / 365.9 MB, free: 5.746 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.1482, allocations: 194.2 kB / 366.1 MB, free: 5.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.1482, allocations: 33.7 kB / 366.1 MB, free: 5.504 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.1483, allocations: 164.3 kB / 366.3 MB, free: 5.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.863e-05/0.1484, allocations: 102.6 kB / 366.4 MB, free: 5.238 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/0.1485, allocations: 4 kB / 366.4 MB, free: 5.234 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.1487, allocations: 326.8 kB / 366.7 MB, free: 4.906 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1488, allocations: 72.53 kB / 366.8 MB, free: 4.836 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.149, allocations: 103.6 kB / 366.9 MB, free: 4.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.1491, allocations: 95.91 kB / 367 MB, free: 4.637 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1491, allocations: 0 / 367 MB, free: 4.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000527/0.1497, allocations: 318.6 kB / 367.3 MB, free: 4.316 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.1497, allocations: 4 kB / 367.3 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1497, allocations: 4.031 kB / 367.3 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002866/0.15, allocations: 84.81 kB / 367.4 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.1502, allocations: 51.92 kB / 367.4 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.1523, allocations: 1.92 MB / 369.4 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.1525, allocations: 12.02 kB / 369.4 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.1525, allocations: 8 kB / 369.4 MB, free: 2.102 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.000187/0.1527, allocations: 137.8 kB / 369.5 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.1528, allocations: 27.75 kB / 369.5 MB, free: 1.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.031e-05/0.1528, allocations: 25.88 kB / 369.6 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1528, allocations: 0 / 369.6 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.1528, allocations: 8.062 kB / 369.6 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1529, allocations: 3.984 kB / 369.6 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.154, allocations: 0.7528 MB / 370.3 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.154, allocations: 0 / 370.3 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.1542, allocations: 35.92 kB / 370.4 MB, free: 1.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001923/0.1544, allocations: 73.08 kB / 370.4 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.1544, allocations: 8 kB / 370.5 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2578/0.4122, allocations: 1.808 MB / 372.3 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4123, allocations: 0 / 372.3 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007886/0.4131, allocations: 464.5 kB / 372.7 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.4131, allocations: 92.86 kB / 372.8 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.4132, allocations: 8.125 kB / 372.8 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.4134, allocations: 17.8 kB / 372.8 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/0.4135, allocations: 20.14 kB / 372.8 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.4135, allocations: 9.219 kB / 372.9 MB, free: 17.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.4137, allocations: 143.7 kB / 373 MB, free: 17.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4137, allocations: 0 / 373 MB, free: 17.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005583/0.4142, allocations: 74.22 kB / 373.1 MB, free: 17.8 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.001074/0.4153, allocations: 1.002 MB / 374.1 MB, free: 17.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008557/0.4162, allocations: 368.2 kB / 374.4 MB, free: 17.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4162, allocations: 0.75 kB / 374.4 MB, free: 17.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004951/0.4167, allocations: 265.2 kB / 374.7 MB, free: 16.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.4171, allocations: 35.48 kB / 374.7 MB, free: 16.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003384/0.4205, allocations: 1.943 MB / 376.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.4208, allocations: 0.7696 MB / 377.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.421, allocations: 25.34 kB / 377.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.4211, allocations: 86.94 kB / 377.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4211, allocations: 0 / 377.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.4421, allocations: 5.116 MB / 382.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.4424, allocations: 205.4 kB / 382.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.438, allocations: 0 / 382.9 MB, free: 14.58 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat does not exist to compare? outputFormat=mat