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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.001109, allocations: 194.9 kB / 8.538 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.141/1.141, allocations: 225.5 MB / 234.4 MB, free: 3.328 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008362/0.0008362, allocations: 90.75 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1067/0.1076, allocations: 56.9 MB / 343.2 MB, free: 8.605 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0835/0.1911, allocations: 51.47 MB / 394.7 MB, free: 5.086 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2049/0.396, allocations: 78.51 MB / 473.2 MB, free: 13.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001622/0.3962, allocations: 65.2 kB / 473.3 MB, free: 13.23 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.01153/0.4077, allocations: 5.18 MB / 478.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.4078, allocations: 8 kB / 478.5 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.4079, allocations: 38.75 kB / 478.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.4081, allocations: 246.5 kB / 478.7 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.4081, allocations: 8 kB / 478.7 MB, free: 9.895 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.4081, allocations: 27.11 kB / 478.8 MB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002479/0.4084, allocations: 153.4 kB / 478.9 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.4087, allocations: 196.2 kB / 479.1 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.4087, allocations: 0 / 479.1 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.4087, allocations: 0 / 479.1 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.4087, allocations: 7.906 kB / 479.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.4099, allocations: 0.9701 MB / 480.1 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.4101, allocations: 112.1 kB / 480.2 MB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.4105, allocations: 211.9 kB / 480.4 MB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.4105, allocations: 4.172 kB / 480.4 MB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.4105, allocations: 34.75 kB / 480.4 MB, free: 8.477 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.4105, allocations: 0 / 480.4 MB, free: 8.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008204/0.4114, allocations: 0.5843 MB / 481 MB, free: 7.934 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.452e-05/0.4114, allocations: 55.41 kB / 481.1 MB, free: 7.867 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.4115, allocations: 166.2 kB / 481.2 MB, free: 7.719 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.4115, allocations: 25.7 kB / 481.3 MB, free: 7.688 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.4116, allocations: 159 kB / 481.4 MB, free: 7.539 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.4116, allocations: 86.31 kB / 481.5 MB, free: 7.465 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-06/0.4116, allocations: 0 / 481.5 MB, free: 7.465 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.899e-05/0.4117, allocations: 330.4 kB / 481.8 MB, free: 7.141 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/0.4117, allocations: 55.19 kB / 481.9 MB, free: 7.109 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.871e-05/0.4118, allocations: 87.5 kB / 482 MB, free: 7.047 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.954e-05/0.4119, allocations: 63.23 kB / 482 MB, free: 7.012 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4119, allocations: 4 kB / 482 MB, free: 7.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003525/0.4123, allocations: 260.8 kB / 482.3 MB, free: 6.805 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.4123, allocations: 10.19 kB / 482.3 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4123, allocations: 0 / 482.3 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/0.4125, allocations: 79.25 kB / 482.4 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.4127, allocations: 39.98 kB / 482.4 MB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.4139, allocations: 1.705 MB / 484.1 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.4141, allocations: 4 kB / 484.1 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.4141, allocations: 8.875 kB / 484.1 MB, free: 5.051 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.4141, allocations: 105.1 kB / 484.2 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.4142, allocations: 19.72 kB / 484.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.4142, allocations: 28.61 kB / 484.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4142, allocations: 4 kB / 484.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4143, allocations: 4.062 kB / 484.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4143, allocations: 0 / 484.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006105/0.4149, allocations: 0.5843 MB / 484.9 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4149, allocations: 0 / 484.9 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.4151, allocations: 40.98 kB / 484.9 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001652/0.4152, allocations: 69.36 kB / 485 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.4153, allocations: 3.906 kB / 485 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.4163, allocations: 1.699 MB / 486.7 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4164, allocations: 4.75 kB / 486.7 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004006/0.4168, allocations: 393.3 kB / 487.1 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005044/0.4173, allocations: 0.8489 MB / 487.9 MB, free: 1.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.4173, allocations: 88.92 kB / 488 MB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.4174, allocations: 2.062 kB / 488 MB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.4175, allocations: 19.98 kB / 488 MB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.4176, allocations: 11.3 kB / 488 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.4176, allocations: 7.984 kB / 488.1 MB, free: 1.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.562e-05/0.4177, allocations: 133.6 kB / 488.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009336/0.4186, allocations: 67.91 kB / 488.2 MB, free: 1.254 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 (14): * Single equations (assignments): 13 * 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.0001067/0.4187, allocations: 99.25 kB / 488.3 MB, free: 1.148 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004083/0.4191, allocations: 292.9 kB / 488.6 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4191, allocations: 0 / 488.6 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.4194, allocations: 211.7 kB / 488.8 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.4197, allocations: 29.47 kB / 488.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008179/0.4205, allocations: 0.5989 MB / 489.5 MB, free: 132 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/0.4208, allocations: 0.7984 MB / 490.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4208, allocations: 0 / 490.3 MB, free: 15.3 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