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.001616/0.001616, allocations: 197.2 kB / 8.766 MB, free: 324 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000816/0.000816, allocations: 98.12 kB / 286.7 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.763e-05/1.766e-05, allocations: 4 kB / 343.8 MB, free: 8.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 51.48 MB / 395.3 MB, free: 4.695 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.295/0.3973, allocations: 78.57 MB / 473.8 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.3976, allocations: 69.84 kB / 473.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01213/0.4097, allocations: 4.918 MB / 478.8 MB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4097, allocations: 0 / 478.8 MB, free: 10.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.4098, allocations: 4 kB / 478.8 MB, free: 10.19 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.0005429/0.4103, allocations: 0.5219 MB / 479.4 MB, free: 9.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.4104, allocations: 8.031 kB / 479.4 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.92e-05/0.4104, allocations: 35.62 kB / 479.4 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.4106, allocations: 253.2 kB / 479.6 MB, free: 9.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.4107, allocations: 12 kB / 479.7 MB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.4107, allocations: 23.91 kB / 479.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002453/0.411, allocations: 157.2 kB / 479.8 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.4113, allocations: 193.6 kB / 480 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4113, allocations: 0 / 480 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.4113, allocations: 0 / 480 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.4113, allocations: 4 kB / 480 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.4125, allocations: 0.9687 MB / 481 MB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.4128, allocations: 306.8 kB / 481.3 MB, free: 7.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.4131, allocations: 176.1 kB / 481.5 MB, free: 7.805 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.4131, allocations: 8.125 kB / 481.5 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.4131, allocations: 38.38 kB / 481.5 MB, free: 7.754 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.4131, allocations: 5.641 kB / 481.5 MB, free: 7.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009247/0.414, allocations: 0.6405 MB / 482.2 MB, free: 7.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.4141, allocations: 55.41 kB / 482.2 MB, free: 7.094 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.4142, allocations: 160 kB / 482.4 MB, free: 6.945 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.4142, allocations: 25.7 kB / 482.4 MB, free: 6.914 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.4143, allocations: 164.4 kB / 482.5 MB, free: 6.773 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.4143, allocations: 95.16 kB / 482.6 MB, free: 6.695 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.397e-06/0.4144, allocations: 3.938 kB / 482.6 MB, free: 6.691 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.749e-05/0.4144, allocations: 330.6 kB / 483 MB, free: 6.367 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.934e-05/0.4145, allocations: 58.12 kB / 483 MB, free: 6.336 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.462e-05/0.4146, allocations: 93.98 kB / 483.1 MB, free: 6.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.326e-05/0.4147, allocations: 67.05 kB / 483.2 MB, free: 6.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4147, allocations: 0 / 483.2 MB, free: 6.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003732/0.4151, allocations: 285.9 kB / 483.5 MB, free: 6.004 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4151, allocations: 7.953 kB / 483.5 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4151, allocations: 4.031 kB / 483.5 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002123/0.4153, allocations: 73.52 kB / 483.5 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.4155, allocations: 43.97 kB / 483.6 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.4169, allocations: 1.8 MB / 485.4 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.417, allocations: 4.062 kB / 485.4 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.4171, allocations: 11.44 kB / 485.4 MB, free: 4.203 MB / 346.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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.734e-05/0.4171, allocations: 108.9 kB / 485.5 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003318/0.4175, allocations: 237.8 kB / 485.7 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.4175, allocations: 19.81 kB / 485.8 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.4176, allocations: 31.56 kB / 485.8 MB, free: 3.863 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4176, allocations: 3.938 kB / 485.8 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4176, allocations: 4 kB / 485.8 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4176, allocations: 3.953 kB / 485.8 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007619/0.4184, allocations: 0.6548 MB / 486.5 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4184, allocations: 11.56 kB / 486.5 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.4186, allocations: 36.67 kB / 486.5 MB, free: 3.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001644/0.4187, allocations: 73.2 kB / 486.6 MB, free: 3.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.4188, allocations: 7.953 kB / 486.6 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.4199, allocations: 1.718 MB / 488.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4199, allocations: 4 kB / 488.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/0.4204, allocations: 409.9 kB / 488.7 MB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.4204, allocations: 100.9 kB / 488.8 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.4204, allocations: 4 kB / 488.8 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.4206, allocations: 11.98 kB / 488.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.4206, allocations: 19.28 kB / 488.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.4207, allocations: 7.562 kB / 488.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.872e-05/0.4207, allocations: 130.1 kB / 489 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4207, allocations: 0 / 489 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003849/0.4211, allocations: 68 kB / 489 MB, free: 0.8828 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,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.0006432/0.4218, allocations: 0.953 MB / 490 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000523/0.4223, allocations: 327.8 kB / 490.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4223, allocations: 0 / 490.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.4227, allocations: 241 kB / 490.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.423, allocations: 27.77 kB / 490.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.4242, allocations: 0.662 MB / 491.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.4245, allocations: 0.7756 MB / 492 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.533e-05/0.4246, allocations: 22.06 kB / 492 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.4247, allocations: 84.34 kB / 492.1 MB, free: 14 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4247, allocations: 0 / 492.1 MB, free: 14 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.4494, allocations: 4.455 MB / 496.6 MB, free: 9.613 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/0.4497, allocations: 153.5 kB / 496.7 MB, free: 9.418 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.14, allocations: 0 / 496.7 MB, free: 9.418 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