Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.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.CauerLowPassSC,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001026/0.001026, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008761/0.0008761, allocations: 99.25 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.257e-05/2.258e-05, allocations: 8 kB / 343.8 MB, free: 8.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1024, allocations: 51.47 MB / 395.3 MB, free: 4.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3273/0.4298, allocations: 82.71 MB / 478 MB, free: 9.941 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.43, allocations: 67.66 kB / 478 MB, free: 9.918 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Electrical/Analog/Examples/Utilities/SwitchedCapacitor.mo:41:3-41:79:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.1032/0.5332, allocations: 41.32 MB / 0.5072 GB, free: 6.242 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5333, allocations: 2.812 kB / 0.5072 GB, free: 6.242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001645/0.5335, allocations: 59.98 kB / 0.5072 GB, free: 6.184 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.007174/0.5407, allocations: 2.529 MB / 0.5097 GB, free: 3.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.5407, allocations: 16.03 kB / 0.5097 GB, free: 3.562 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.5421, allocations: 288.5 kB / 0.51 GB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002679/0.5448, allocations: 1.024 MB / 0.511 GB, free: 2.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.545, allocations: 84 kB / 0.5111 GB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008138/0.5458, allocations: 167.8 kB / 0.5112 GB, free: 1.965 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004563/0.5503, allocations: 1.709 MB / 0.5129 GB, free: 256 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005374/0.5557, allocations: 2.194 MB / 0.5151 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-05/0.5558, allocations: 3.938 kB / 0.5151 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003155/0.5561, allocations: 4 kB / 0.5151 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.508e-05/0.5562, allocations: 64 kB / 0.5151 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01696/0.5732, allocations: 9.236 MB / 0.5241 GB, free: 4.414 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005805/0.579, allocations: 2.695 MB / 0.5268 GB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.5808, allocations: 0.9908 MB / 0.5277 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.5809, allocations: 22 kB / 0.5278 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/0.5826, allocations: 0.8748 MB / 0.5286 GB, free: 15.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=218): time 4.869e-06/0.5826, allocations: 0 / 0.5286 GB, free: 15.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.004871/0.5875, allocations: 2.296 MB / 0.5309 GB, free: 13.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.5876, allocations: 85.39 kB / 0.5309 GB, free: 13.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.5893, allocations: 0.8436 MB / 0.5318 GB, free: 12.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.5894, allocations: 33.7 kB / 0.5318 GB, free: 12.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008152/0.5902, allocations: 0.9397 MB / 0.5327 GB, free: 11.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006631/0.5909, allocations: 0.6543 MB / 0.5334 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.5911, allocations: 0 / 0.5334 GB, free: 10.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002443/0.5913, allocations: 407 kB / 0.5337 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.5925, allocations: 0.6182 MB / 0.5343 GB, free: 9.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.594, allocations: 1.165 MB / 0.5355 GB, free: 8.441 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.5953, allocations: 0.7047 MB / 0.5362 GB, free: 7.742 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.861e-05/0.5953, allocations: 6.156 kB / 0.5362 GB, free: 7.738 MB / 410.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.005607/0.6009, allocations: 2.715 MB / 0.5388 GB, free: 4.977 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.601, allocations: 12 kB / 0.5388 GB, free: 4.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/0.601, allocations: 16 kB / 0.5389 GB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003156/0.6042, allocations: 1.107 MB / 0.5399 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.6052, allocations: 283.5 kB / 0.5402 GB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02233/0.6276, allocations: 21.48 MB / 0.5612 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/0.6297, allocations: 265.9 kB / 0.5614 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003723/0.6301, allocations: 92 kB / 0.5615 GB, free: 12.33 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 66 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.R4.BooleanPulse.pulseStart,R4.BooleanPulse.pulseStart,R4.IdealCommutingSwitch1.control,R4.logicalSwitch.u1,$PRE.R5.BooleanPulse.pulseStart,R5.BooleanPulse.pulseStart,R5.IdealCommutingSwitch1.control,R5.logicalSwitch.u1,$PRE.R8.BooleanPulse.pulseStart,R8.BooleanPulse.pulseStart,R8.IdealCommutingSwitch1.control,R8.logicalSwitch.u1,$PRE.R9.BooleanPulse.pulseStart,R9.BooleanPulse.pulseStart,R9.IdealCommutingSwitch1.control,R9.logicalSwitch.u1,$PRE.R1.BooleanPulse.pulseStart,R1.BooleanPulse.pulseStart,R1.IdealCommutingSwitch1.control,R1.logicalSwitch.u1,$PRE.R2.BooleanPulse.pulseStart,R2.BooleanPulse.pulseStart,R2.IdealCommutingSwitch1.control,R2.logicalSwitch.u1,$PRE.R3.BooleanPulse.pulseStart,R3.BooleanPulse.pulseStart,R3.IdealCommutingSwitch1.control,R3.logicalSwitch.u1,$PRE.Rp1.BooleanPulse.pulseStart,Rp1.BooleanPulse.pulseStart,Rp1.IdealCommutingSwitch1.control,Rp1.logicalSwitch.u1,$PRE.R7.BooleanPulse.pulseStart,R7.BooleanPulse.pulseStart,R7.IdealCommutingSwitch1.control,R7.logicalSwitch.u1,$PRE.R10.BooleanPulse.pulseStart,R10.BooleanPulse.pulseStart,R10.IdealCommutingSwitch1.control,R10.logicalSwitch.u1,$PRE.R11.BooleanPulse.pulseStart,R11.BooleanPulse.pulseStart,R11.IdealCommutingSwitch1.control,R11.logicalSwitch.u1,R11.lessEqualThreshold.y,R10.lessEqualThreshold.y,R7.lessEqualThreshold.y,Rp1.lessEqualThreshold.y,R3.lessEqualThreshold.y,R2.lessEqualThreshold.y,R1.lessEqualThreshold.y,R9.lessEqualThreshold.y,R8.lessEqualThreshold.y,R5.lessEqualThreshold.y,R4.lessEqualThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 187 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006135/0.6307, allocations: 196.5 kB / 0.5617 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004895/0.6356, allocations: 2.297 MB / 0.564 GB, free: 9.789 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004227/0.6361, allocations: 169.9 kB / 0.5641 GB, free: 9.621 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000516/0.6366, allocations: 185 kB / 0.5643 GB, free: 9.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.6366, allocations: 23.95 kB / 0.5643 GB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.273e-05/0.6367, allocations: 24 kB / 0.5643 GB, free: 9.383 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.778e-05/0.6367, allocations: 7.969 kB / 0.5643 GB, free: 9.375 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/0.6395, allocations: 1.778 MB / 0.5661 GB, free: 7.555 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.6395, allocations: 0 / 0.5661 GB, free: 7.555 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007841/0.6403, allocations: 137.6 kB / 0.5662 GB, free: 7.422 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003123/0.6434, allocations: 1.103 MB / 0.5673 GB, free: 6.281 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/0.6436, allocations: 11.98 kB / 0.5673 GB, free: 6.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2521/0.8957, allocations: 21.44 MB / 0.5882 GB, free: 85.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.8957, allocations: 0 / 0.5882 GB, free: 85.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006056/0.9018, allocations: 3.346 MB / 0.5915 GB, free: 84.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008326/0.9027, allocations: 457.4 kB / 0.5919 GB, free: 84.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003459/0.903, allocations: 6.281 kB / 0.592 GB, free: 84.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.9042, allocations: 97.91 kB / 0.592 GB, free: 84.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006302/0.9048, allocations: 270.8 kB / 0.5923 GB, free: 84.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.9049, allocations: 52.64 kB / 0.5924 GB, free: 84.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007683/0.9057, allocations: 0.5745 MB / 0.5929 GB, free: 84.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.693e-06/0.9057, allocations: 0 / 0.5929 GB, free: 84.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002455/0.9082, allocations: 0.7063 MB / 0.5936 GB, free: 84.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 16 (C1.v,C2.v,C3.v,C4.v,C7.v,R4.Capacitor.v,R5.Capacitor.v,R8.Capacitor.v,R9.Capacitor.v,R1.Capacitor.v,R2.Capacitor.v,R3.Capacitor.v,Rp1.Capacitor.v,R7.Capacitor.v,R10.Capacitor.v,R11.Capacitor.v) * Number of discrete variables: 44 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse.pulseStart,R4.IdealCommutingSwitch1.control,R4.logicalSwitch.u1,R5.BooleanPulse.pulseStart,R5.IdealCommutingSwitch1.control,R5.logicalSwitch.u1,R8.BooleanPulse.pulseStart,R8.IdealCommutingSwitch1.control,R8.logicalSwitch.u1,R9.BooleanPulse.pulseStart,R9.IdealCommutingSwitch1.control,R9.logicalSwitch.u1,R1.BooleanPulse.pulseStart,R1.IdealCommutingSwitch1.control,R1.logicalSwitch.u1,R2.BooleanPulse.pulseStart,R2.IdealCommutingSwitch1.control,R2.logicalSwitch.u1,R3.BooleanPulse.pulseStart,R3.IdealCommutingSwitch1.control,R3.logicalSwitch.u1,Rp1.BooleanPulse.pulseStart,Rp1.IdealCommutingSwitch1.control,Rp1.logicalSwitch.u1,R7.BooleanPulse.pulseStart,R7.IdealCommutingSwitch1.control,R7.logicalSwitch.u1,R10.BooleanPulse.pulseStart,R10.IdealCommutingSwitch1.control,R10.logicalSwitch.u1,R11.BooleanPulse.pulseStart,R11.IdealCommutingSwitch1.control,R11.logicalSwitch.u1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005516/0.9137, allocations: 3.945 MB / 0.5975 GB, free: 83.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004889/0.9186, allocations: 3.701 MB / 0.6011 GB, free: 82.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9186, allocations: 0 / 0.6011 GB, free: 82.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003375/0.922, allocations: 2.822 MB / 0.6038 GB, free: 80.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.9235, allocations: 248.4 kB / 0.6041 GB, free: 80.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007742/0.9313, allocations: 4.062 MB / 0.608 GB, free: 79.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.9325, allocations: 1.588 MB / 0.6096 GB, free: 78.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007035/0.9332, allocations: 138.8 kB / 0.6097 GB, free: 78.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007942/0.934, allocations: 0.7619 MB / 0.6105 GB, free: 78.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.613e-06/0.9341, allocations: 0 / 0.6105 GB, free: 78.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08877/1.023, allocations: 43.98 MB / 0.6534 GB, free: 76.33 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/1.023, allocations: 145.2 kB / 0.6535 GB, free: 76.14 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.734/4.757, allocations: 0 / 0.6535 GB, free: 76.14 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassSC_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassSC.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat does not exist to compare? outputFormat=mat