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.001615/0.001615, allocations: 172.1 kB / 17.39 MB, free: 4.305 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.468/1.468, allocations: 223.3 MB / 241.4 MB, free: 11.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008277/0.0008277, allocations: 93.38 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004318/0.0004319, allocations: 15.94 kB / 352.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2876, allocations: 50.4 MB / 402.7 MB, free: 32.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.4037, allocations: 82.69 MB / 485.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.404, allocations: 71.97 kB / 485.5 MB, free: 13.61 MB / 362.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.3849/0.789, allocations: 41.61 MB / 0.5148 GB, free: 85.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.789, allocations: 0 / 0.5148 GB, free: 85.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.918e-05/0.7891, allocations: 51.38 kB / 0.5148 GB, free: 85.11 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.00568/0.7948, allocations: 2.705 MB / 0.5174 GB, free: 83.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.7949, allocations: 7.594 kB / 0.5175 GB, free: 83.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006973/0.7956, allocations: 286.2 kB / 0.5177 GB, free: 83.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.7973, allocations: 1.077 MB / 0.5188 GB, free: 83.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.7975, allocations: 199.4 kB / 0.519 GB, free: 83.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003242/0.7978, allocations: 258.1 kB / 0.5192 GB, free: 83.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003935/0.8018, allocations: 2.635 MB / 0.5218 GB, free: 82.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.985e-05/0.8018, allocations: 2.812 kB / 0.5218 GB, free: 82.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.802, allocations: 114.6 kB / 0.5219 GB, free: 82.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-05/0.8021, allocations: 66.34 kB / 0.522 GB, free: 82.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003018/0.8051, allocations: 1.943 MB / 0.5239 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/0.8166, allocations: 9.677 MB / 0.5333 GB, free: 76.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004871/0.8216, allocations: 2.821 MB / 0.5361 GB, free: 73.81 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.823, allocations: 1.076 MB / 0.5371 GB, free: 72.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.8231, allocations: 18 kB / 0.5371 GB, free: 72.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/0.8245, allocations: 0.9689 MB / 0.5381 GB, free: 72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=218): time 4.799e-06/0.8246, allocations: 4 kB / 0.5381 GB, free: 71.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.01198/0.8366, allocations: 5.586 MB / 0.5435 GB, free: 66.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.8366, allocations: 85.23 kB / 0.5436 GB, free: 66.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.8381, allocations: 1.177 MB / 0.5448 GB, free: 65.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.8383, allocations: 65.7 kB / 0.5448 GB, free: 65.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005424/0.8388, allocations: 0.9119 MB / 0.5457 GB, free: 64.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004692/0.8393, allocations: 0.6925 MB / 0.5464 GB, free: 63.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.83e-05/0.8394, allocations: 52 kB / 0.5465 GB, free: 63.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.8395, allocations: 399 kB / 0.5468 GB, free: 63.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.8406, allocations: 0.696 MB / 0.5475 GB, free: 62.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.8419, allocations: 1.266 MB / 0.5487 GB, free: 61.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/0.8441, allocations: 1.912 MB / 0.5506 GB, free: 59.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/0.8441, allocations: 4 kB / 0.5506 GB, free: 59.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004712/0.8489, allocations: 3.062 MB / 0.5536 GB, free: 55.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.8489, allocations: 16.03 kB / 0.5536 GB, free: 55.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.8489, allocations: 16 kB / 0.5536 GB, free: 55.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002837/0.8518, allocations: 1.181 MB / 0.5548 GB, free: 54.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008171/0.8526, allocations: 287.4 kB / 0.5551 GB, free: 54.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01752/0.8701, allocations: 22.34 MB / 0.5769 GB, free: 30.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.8722, allocations: 347.8 kB / 0.5772 GB, free: 30.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003138/0.8725, allocations: 95.94 kB / 0.5773 GB, free: 30.04 MB / 378.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 () * Number of clocked 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.001156/0.8737, allocations: 493.5 kB / 0.5778 GB, free: 29.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003928/0.8741, allocations: 189.7 kB / 0.578 GB, free: 29.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004201/0.8745, allocations: 222.3 kB / 0.5782 GB, free: 29.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.8745, allocations: 20 kB / 0.5782 GB, free: 29.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.886e-05/0.8746, allocations: 16.11 kB / 0.5782 GB, free: 29.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.8746, allocations: 19.83 kB / 0.5782 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/0.8772, allocations: 2.082 MB / 0.5803 GB, free: 26.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.8773, allocations: 0 / 0.5803 GB, free: 26.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006614/0.8779, allocations: 139.8 kB / 0.5804 GB, free: 26.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002869/0.8808, allocations: 1.177 MB / 0.5815 GB, free: 25.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000169/0.881, allocations: 46.8 kB / 0.5816 GB, free: 25.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01783/0.8988, allocations: 22.33 MB / 0.6034 GB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8989, allocations: 0 / 0.6034 GB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007823/0.9067, allocations: 3.638 MB / 0.6069 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/0.908, allocations: 474.3 kB / 0.6074 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000502/0.9085, allocations: 39.94 kB / 0.6074 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.9098, allocations: 131.9 kB / 0.6076 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008073/0.9106, allocations: 273.5 kB / 0.6078 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.9108, allocations: 59.98 kB / 0.6079 GB, free: 13.01 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001418/0.9122, allocations: 0.7321 MB / 0.6086 GB, free: 12.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9122, allocations: 0 / 0.6086 GB, free: 12.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003284/0.9155, allocations: 0.7915 MB / 0.6094 GB, free: 11.48 MB / 394.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 () * Number of clocked 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.0003476/0.9159, allocations: 178.6 kB / 0.6095 GB, free: 11.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006762/0.9227, allocations: 4.038 MB / 0.6135 GB, free: 7.109 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.9227, allocations: 0 / 0.6135 GB, free: 7.109 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004226/0.9269, allocations: 3.08 MB / 0.6165 GB, free: 3.883 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.929, allocations: 362.6 kB / 0.6168 GB, free: 3.531 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008753/0.9378, allocations: 5.693 MB / 0.6224 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/0.9396, allocations: 1.549 MB / 0.6239 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009185/0.9405, allocations: 151 kB / 0.6241 GB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.9409, allocations: 87.42 kB / 0.6241 GB, free: 12 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.9409, allocations: 0 / 0.6241 GB, free: 12 MB / 410.7 MB Notification: Performance of Templates: time 0.05938/1, allocations: 32.75 MB / 0.6561 GB, free: 11.71 MB / 442.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/jenkins1/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