Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001402/0.001402, allocations: 171.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008032/0.0008032, allocations: 86.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.383e-05/2.385e-05, allocations: 0 / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08486/0.0849, allocations: 47.58 MB / 370.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2914/0.3763, allocations: 78.72 MB / 448.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.3766, allocations: 69.92 kB / 448.9 MB, free: 14.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03126/0.4078, allocations: 12.84 MB / 461.7 MB, free: 3.031 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4079, allocations: 0 / 461.7 MB, free: 3.031 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.368e-05/0.4079, allocations: 16 kB / 461.8 MB, free: 3.016 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.0015/0.4094, allocations: 1.014 MB / 462.8 MB, free: 1.953 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4095, allocations: 12.03 kB / 462.8 MB, free: 1.941 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.4096, allocations: 147.9 kB / 462.9 MB, free: 1.789 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.4098, allocations: 106.8 kB / 463 MB, free: 1.684 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/0.4103, allocations: 438.9 kB / 463.5 MB, free: 1.215 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.434e-05/0.4104, allocations: 70 kB / 463.5 MB, free: 1.148 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.4105, allocations: 92 kB / 463.6 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.4118, allocations: 0.8364 MB / 464.5 MB, free: 200 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.4118, allocations: 4 kB / 464.5 MB, free: 196 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.085e-05/0.4119, allocations: 40 kB / 464.5 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.4119, allocations: 24 kB / 464.5 MB, free: 132 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008625/0.4128, allocations: 0.5312 MB / 465.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004/0.4168, allocations: 2.999 MB / 468.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.4172, allocations: 299 kB / 468.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.4176, allocations: 258.2 kB / 468.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.4176, allocations: 8 kB / 468.6 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.4176, allocations: 34.56 kB / 468.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.4176, allocations: 0 / 468.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007049/0.4183, allocations: 397.7 kB / 469 MB, free: 11.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.4184, allocations: 63.3 kB / 469.1 MB, free: 11.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004919/0.4189, allocations: 452.5 kB / 469.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.4189, allocations: 33.7 kB / 469.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.4192, allocations: 489.5 kB / 470 MB, free: 10.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.4194, allocations: 157.8 kB / 470.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.4194, allocations: 19.94 kB / 470.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4195, allocations: 362.8 kB / 470.6 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.4198, allocations: 161.6 kB / 470.7 MB, free: 9.727 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.4202, allocations: 431.5 kB / 471.1 MB, free: 9.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.4205, allocations: 227.1 kB / 471.4 MB, free: 8.957 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4206, allocations: 0 / 471.4 MB, free: 8.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001039/0.4216, allocations: 0.7372 MB / 472.1 MB, free: 8.211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4216, allocations: 8 kB / 472.1 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.4216, allocations: 8 kB / 472.1 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002597/0.4219, allocations: 85.31 kB / 472.2 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006507/0.4226, allocations: 203.7 kB / 472.4 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.4243, allocations: 1.796 MB / 474.2 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.4248, allocations: 94.91 kB / 474.3 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/0.4248, allocations: 39.98 kB / 474.3 MB, free: 5.848 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0001245/0.425, allocations: 149.5 kB / 474.5 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/0.4251, allocations: 59.34 kB / 474.5 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.4252, allocations: 61.58 kB / 474.6 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.4252, allocations: 19.92 kB / 474.6 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4252, allocations: 4.062 kB / 474.6 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4252, allocations: 3.938 kB / 474.6 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007116/0.4259, allocations: 0.6376 MB / 475.3 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4259, allocations: 0 / 475.3 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.4264, allocations: 99.88 kB / 475.4 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001878/0.4266, allocations: 72.75 kB / 475.4 MB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.4266, allocations: 11.98 kB / 475.4 MB, free: 4.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.4281, allocations: 1.776 MB / 477.2 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4281, allocations: 0 / 477.2 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/0.4289, allocations: 0.6376 MB / 477.9 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.429, allocations: 140.3 kB / 478 MB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.878e-05/0.4291, allocations: 11.95 kB / 478 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.4295, allocations: 51.97 kB / 478.1 MB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.4296, allocations: 32.08 kB / 478.1 MB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.4296, allocations: 19.94 kB / 478.1 MB, free: 1.836 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003271/0.4299, allocations: 333.6 kB / 478.4 MB, free: 1.512 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4299, allocations: 0 / 478.4 MB, free: 1.512 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006802/0.4306, allocations: 247.5 kB / 478.7 MB, free: 1.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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.001094/0.4317, allocations: 1.19 MB / 479.9 MB, free: 44 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008222/0.4326, allocations: 0.5734 MB / 480.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4326, allocations: 4.75 kB / 480.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003963/0.433, allocations: 310.3 kB / 480.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.4334, allocations: 111.1 kB / 480.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.4354, allocations: 1.222 MB / 482.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.4359, allocations: 0.9418 MB / 483 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002693/0.4361, allocations: 69.2 kB / 483.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.4364, allocations: 263.4 kB / 483.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4364, allocations: 4 kB / 483.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.4625, allocations: 11.85 MB / 495.2 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.4627, allocations: 185.3 kB / 495.4 MB, free: 372 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/2.566, allocations: 0 / 495.4 MB, free: 372 kB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat does not exist to compare? outputFormat=mat