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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001018, allocations: 89.75 kB / 292.1 MB, free: 6.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.606e-05/3.624e-05, allocations: 4 kB / 350.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 51.49 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3447/0.4497, allocations: 79.24 MB / 481.4 MB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.4499, allocations: 72.12 kB / 481.4 MB, free: 10.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01199/0.4619, allocations: 4.96 MB / 486.4 MB, free: 6.008 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.462, allocations: 0 / 486.4 MB, free: 6.008 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.258e-05/0.462, allocations: 4 kB / 486.4 MB, free: 6.004 MB / 346.7 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.0007649/0.4628, allocations: 0.5208 MB / 486.9 MB, free: 5.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.4629, allocations: 8.031 kB / 486.9 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.915e-05/0.4629, allocations: 67.09 kB / 487 MB, free: 5.398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.19e-05/0.463, allocations: 36.48 kB / 487 MB, free: 5.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.4634, allocations: 249.7 kB / 487.3 MB, free: 5.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.4634, allocations: 21.25 kB / 487.3 MB, free: 5.094 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.4635, allocations: 33.41 kB / 487.3 MB, free: 5.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.4639, allocations: 239.4 kB / 487.6 MB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.4639, allocations: 0 / 487.6 MB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.464, allocations: 6.688 kB / 487.6 MB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.464, allocations: 8 kB / 487.6 MB, free: 4.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.4643, allocations: 169.9 kB / 487.7 MB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.4659, allocations: 1.025 MB / 488.8 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.4662, allocations: 318.7 kB / 489.1 MB, free: 3.586 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.4665, allocations: 190.2 kB / 489.3 MB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.4665, allocations: 4.188 kB / 489.3 MB, free: 3.445 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.4666, allocations: 38.19 kB / 489.3 MB, free: 3.402 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.663e-06/0.4666, allocations: 0 / 489.3 MB, free: 3.402 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001107/0.4677, allocations: 0.7068 MB / 490 MB, free: 2.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.4677, allocations: 55.41 kB / 490.1 MB, free: 2.703 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.4679, allocations: 171.2 kB / 490.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.4679, allocations: 29.39 kB / 490.3 MB, free: 2.523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.468, allocations: 166.8 kB / 490.4 MB, free: 2.379 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.468, allocations: 93.02 kB / 490.5 MB, free: 2.301 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/0.4681, allocations: 7.562 kB / 490.5 MB, free: 2.297 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.256e-05/0.4681, allocations: 334 kB / 490.8 MB, free: 1.969 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.4683, allocations: 65.56 kB / 490.9 MB, free: 1.926 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.4684, allocations: 91.47 kB / 491 MB, free: 1.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.4685, allocations: 75.97 kB / 491.1 MB, free: 1.816 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4685, allocations: 0 / 491.1 MB, free: 1.816 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004594/0.469, allocations: 316.3 kB / 491.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.469, allocations: 8 kB / 491.4 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.469, allocations: 0 / 491.4 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002437/0.4693, allocations: 82.78 kB / 491.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.4695, allocations: 47.91 kB / 491.5 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.4711, allocations: 1.886 MB / 493.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.4712, allocations: 11.98 kB / 493.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.4713, allocations: 12 kB / 493.4 MB, free: 15.38 MB / 362.7 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 () * 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 9.566e-05/0.4714, allocations: 109 kB / 493.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.4714, allocations: 23.72 kB / 493.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.29e-05/0.4715, allocations: 33.7 kB / 493.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.4715, allocations: 5.438 kB / 493.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.4715, allocations: 0 / 493.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4715, allocations: 0 / 493.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.4726, allocations: 0.7372 MB / 494.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.4726, allocations: 0 / 494.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.4728, allocations: 39.97 kB / 494.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001955/0.473, allocations: 66.41 kB / 494.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.473, allocations: 7.938 kB / 494.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.4747, allocations: 1.788 MB / 496.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4747, allocations: 3.938 kB / 496.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006305/0.4754, allocations: 439.8 kB / 496.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.4755, allocations: 97.69 kB / 496.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.4755, allocations: 12.05 kB / 496.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.4757, allocations: 12 kB / 496.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.4757, allocations: 19.97 kB / 496.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.4758, allocations: 4 kB / 496.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001317/0.4759, allocations: 144.4 kB / 496.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4759, allocations: 0 / 496.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004253/0.4763, allocations: 80 kB / 497 MB, free: 11.55 MB / 362.7 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 () * 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.0009569/0.4773, allocations: 0.9842 MB / 498 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006318/0.478, allocations: 346.5 kB / 498.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.478, allocations: 0 / 498.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003692/0.4783, allocations: 250.3 kB / 498.6 MB, free: 9.934 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.4786, allocations: 38.16 kB / 498.6 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.4798, allocations: 0.6958 MB / 499.3 MB, free: 9.188 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.4802, allocations: 0.7752 MB / 0.4884 GB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.919e-05/0.4803, allocations: 22.08 kB / 0.4884 GB, free: 8.363 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.4804, allocations: 79.41 kB / 0.4885 GB, free: 8.285 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4804, allocations: 0 / 0.4885 GB, free: 8.285 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.4984, allocations: 5.106 MB / 0.4935 GB, free: 3.434 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.4986, allocations: 186.5 kB / 0.4936 GB, free: 3.207 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.125, allocations: 0 / 0.4936 GB, free: 3.207 MB / 362.7 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