Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassSC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassSC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 221.3 MB / 235.5 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008609/0.0008609, allocations: 100.7 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.965e-05, allocations: 0 / 343.8 MB, free: 4.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08654/0.08657, allocations: 50.42 MB / 394.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3332/0.4198, allocations: 82.55 MB / 476.8 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/0.42, allocations: 71.8 kB / 476.9 MB, free: 4.922 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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.1043/0.5244, allocations: 41.66 MB / 0.5064 GB, free: 11.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5244, allocations: 4 kB / 0.5064 GB, free: 11.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.553e-05/0.5245, allocations: 48 kB / 0.5064 GB, free: 11.05 MB / 394.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.005141/0.5297, allocations: 2.538 MB / 0.5089 GB, free: 8.438 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.5297, allocations: 8.031 kB / 0.5089 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005074/0.5302, allocations: 288.5 kB / 0.5092 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.5319, allocations: 1.024 MB / 0.5102 GB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.532, allocations: 201.1 kB / 0.5104 GB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003503/0.5324, allocations: 259.9 kB / 0.5106 GB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004313/0.5367, allocations: 2.568 MB / 0.5131 GB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.185e-05/0.5368, allocations: 4 kB / 0.5131 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002114/0.537, allocations: 108 kB / 0.5132 GB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.606e-05/0.537, allocations: 67.95 kB / 0.5133 GB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003316/0.5404, allocations: 1.874 MB / 0.5151 GB, free: 1.852 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/0.554, allocations: 9.673 MB / 0.5246 GB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005439/0.5594, allocations: 2.781 MB / 0.5273 GB, free: 5.176 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.561, allocations: 1.055 MB / 0.5283 GB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.5611, allocations: 25.98 kB / 0.5284 GB, free: 4.094 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/0.5625, allocations: 0.9371 MB / 0.5293 GB, free: 3.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=218): time 5.471e-06/0.5626, allocations: 0 / 0.5293 GB, free: 3.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.004787/0.5674, allocations: 2.476 MB / 0.5317 GB, free: 0.625 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.5674, allocations: 81.41 kB / 0.5318 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.5688, allocations: 1.028 MB / 0.5328 GB, free: 15.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.569, allocations: 69.64 kB / 0.5328 GB, free: 15.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006114/0.5696, allocations: 0.9206 MB / 0.5337 GB, free: 14.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005013/0.5701, allocations: 0.6816 MB / 0.5344 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.5702, allocations: 52 kB / 0.5345 GB, free: 13.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.5704, allocations: 399 kB / 0.5348 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.5715, allocations: 0.6729 MB / 0.5355 GB, free: 12.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.5729, allocations: 1.232 MB / 0.5367 GB, free: 11.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.5741, allocations: 0.7593 MB / 0.5374 GB, free: 10.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.5742, allocations: 8 kB / 0.5374 GB, free: 10.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.005422/0.5796, allocations: 3.004 MB / 0.5404 GB, free: 7.379 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.5796, allocations: 12 kB / 0.5404 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.5797, allocations: 16.16 kB / 0.5404 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00328/0.5829, allocations: 1.184 MB / 0.5416 GB, free: 6.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.584, allocations: 283.5 kB / 0.5418 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2669/0.851, allocations: 22.25 MB / 0.5636 GB, free: 96.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/0.8539, allocations: 340.7 kB / 0.5639 GB, free: 96.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/0.8542, allocations: 93.2 kB / 0.564 GB, free: 96.27 MB / 426.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.00054/0.8547, allocations: 273.4 kB / 0.5642 GB, free: 96.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004003/0.8551, allocations: 182.1 kB / 0.5644 GB, free: 96.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000645/0.8558, allocations: 225.1 kB / 0.5646 GB, free: 96.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/0.8558, allocations: 22.25 kB / 0.5646 GB, free: 96.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.211e-05/0.8559, allocations: 16.84 kB / 0.5647 GB, free: 96.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.912e-05/0.856, allocations: 11.92 kB / 0.5647 GB, free: 96.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/0.8599, allocations: 2.094 MB / 0.5667 GB, free: 95.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.8599, allocations: 0 / 0.5667 GB, free: 95.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.861, allocations: 141.6 kB / 0.5669 GB, free: 95.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004579/0.8656, allocations: 1.163 MB / 0.568 GB, free: 95.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/0.8658, allocations: 43.75 kB / 0.568 GB, free: 95.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02486/0.8907, allocations: 22.24 MB / 0.5897 GB, free: 78.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8907, allocations: 0 / 0.5897 GB, free: 78.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008659/0.8994, allocations: 3.568 MB / 0.5932 GB, free: 76.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/0.9005, allocations: 473.4 kB / 0.5937 GB, free: 76.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/0.9008, allocations: 38.69 kB / 0.5937 GB, free: 76.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.9022, allocations: 129.9 kB / 0.5938 GB, free: 76.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008605/0.903, allocations: 276.9 kB / 0.5941 GB, free: 76.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.9032, allocations: 53.91 kB / 0.5942 GB, free: 76.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001135/0.9043, allocations: 0.7192 MB / 0.5949 GB, free: 76.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.9043, allocations: 0 / 0.5949 GB, free: 76.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003874/0.9082, allocations: 0.7997 MB / 0.5956 GB, free: 76.06 MB / 426.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.0004059/0.9087, allocations: 181.1 kB / 0.5958 GB, free: 75.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007767/0.9164, allocations: 3.946 MB / 0.5997 GB, free: 73.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.9165, allocations: 0 / 0.5997 GB, free: 73.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005308/0.9218, allocations: 2.981 MB / 0.6026 GB, free: 71.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/0.9241, allocations: 321.5 kB / 0.6029 GB, free: 71.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008961/0.9331, allocations: 3.902 MB / 0.6067 GB, free: 69.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/0.9344, allocations: 1.591 MB / 0.6083 GB, free: 68.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001058/0.9355, allocations: 149.1 kB / 0.6084 GB, free: 68.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.9358, allocations: 79.59 kB / 0.6085 GB, free: 68.58 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.9358, allocations: 8.438 kB / 0.6085 GB, free: 68.58 MB / 426.7 MB Notification: Performance of Templates: time 0.06087/0.9967, allocations: 32.48 MB / 0.6402 GB, free: 54.64 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassSC/CauerLowPassSC.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches