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.001483/0.001483, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.493/1.493, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.001083/0.001083, allocations: 101 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 15.94 kB / 351.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2663, allocations: 50.41 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1063/0.3727, allocations: 82.63 MB / 484.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.373, allocations: 75.97 kB / 484.2 MB, free: 13.74 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.3536/0.7266, allocations: 41.57 MB / 0.5134 GB, free: 85.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.7267, allocations: 2.5 kB / 0.5135 GB, free: 85.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001087/0.7268, allocations: 50.77 kB / 0.5135 GB, free: 85.07 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.006847/0.7336, allocations: 2.735 MB / 0.5162 GB, free: 83.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.7337, allocations: 9.25 kB / 0.5162 GB, free: 83.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.7347, allocations: 287.4 kB / 0.5165 GB, free: 83.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.7368, allocations: 1.031 MB / 0.5175 GB, free: 83.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.7369, allocations: 202.7 kB / 0.5177 GB, free: 83.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003595/0.7373, allocations: 260.1 kB / 0.5179 GB, free: 83.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004037/0.7413, allocations: 2.615 MB / 0.5205 GB, free: 82.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.37e-05/0.7414, allocations: 6.016 kB / 0.5205 GB, free: 82.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/0.7416, allocations: 108.2 kB / 0.5206 GB, free: 82.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/0.7416, allocations: 66.02 kB / 0.5206 GB, free: 82.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00311/0.7447, allocations: 1.945 MB / 0.5225 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01376/0.7585, allocations: 9.669 MB / 0.532 GB, free: 76.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005389/0.764, allocations: 2.816 MB / 0.5347 GB, free: 73.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.7642, allocations: 22 kB / 0.5347 GB, free: 73.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001736/0.7659, allocations: 0.9628 MB / 0.5357 GB, free: 73.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=218): time 6.472e-06/0.7659, allocations: 0 / 0.5357 GB, free: 73.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.01316/0.7791, allocations: 5.499 MB / 0.5411 GB, free: 68.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.7792, allocations: 81.39 kB / 0.5411 GB, free: 68.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.7808, allocations: 1.03 MB / 0.5421 GB, free: 67.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003248/0.7812, allocations: 69.69 kB / 0.5422 GB, free: 66.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005713/0.7817, allocations: 0.924 MB / 0.5431 GB, free: 66.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006597/0.7824, allocations: 0.6773 MB / 0.5438 GB, free: 65.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.7825, allocations: 52 kB / 0.5438 GB, free: 65.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7826, allocations: 399 kB / 0.5442 GB, free: 64.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.7839, allocations: 0.7038 MB / 0.5449 GB, free: 64.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.7852, allocations: 1.255 MB / 0.5461 GB, free: 62.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.7864, allocations: 0.783 MB / 0.5469 GB, free: 61.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.7864, allocations: 4 kB / 0.5469 GB, free: 61.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.005212/0.7916, allocations: 3.058 MB / 0.5499 GB, free: 58.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.7917, allocations: 16.92 kB / 0.5499 GB, free: 58.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.131e-05/0.7918, allocations: 20 kB / 0.5499 GB, free: 58.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0033/0.7951, allocations: 1.184 MB / 0.5511 GB, free: 57.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.7963, allocations: 287.5 kB / 0.5513 GB, free: 57.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01815/0.8145, allocations: 22.76 MB / 0.5736 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/0.817, allocations: 337.6 kB / 0.5739 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003752/0.8174, allocations: 92 kB / 0.574 GB, free: 32.55 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.001276/0.8187, allocations: 496.3 kB / 0.5744 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000514/0.8192, allocations: 185.7 kB / 0.5746 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005031/0.8197, allocations: 222.3 kB / 0.5748 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.8197, allocations: 20 kB / 0.5748 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001334/0.8199, allocations: 20 kB / 0.5749 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.182e-05/0.8199, allocations: 15.94 kB / 0.5749 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00313/0.823, allocations: 2.092 MB / 0.5769 GB, free: 29.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/0.823, allocations: 2.812 kB / 0.5769 GB, free: 29.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007478/0.8238, allocations: 139.8 kB / 0.5771 GB, free: 29.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003118/0.8269, allocations: 1.162 MB / 0.5782 GB, free: 28.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002345/0.8272, allocations: 40 kB / 0.5782 GB, free: 28.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01922/0.8464, allocations: 22.74 MB / 0.6004 GB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8465, allocations: 0 / 0.6004 GB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006718/0.8532, allocations: 3.633 MB / 0.604 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/0.8547, allocations: 462.4 kB / 0.6044 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003541/0.855, allocations: 38.81 kB / 0.6045 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.8562, allocations: 136.1 kB / 0.6046 GB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008755/0.8571, allocations: 277.5 kB / 0.6049 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.8572, allocations: 55.97 kB / 0.6049 GB, free: 15.15 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00111/0.8583, allocations: 0.7361 MB / 0.6056 GB, free: 14.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8583, allocations: 0 / 0.6056 GB, free: 14.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003553/0.8619, allocations: 0.807 MB / 0.6064 GB, free: 13.6 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.0004058/0.8623, allocations: 168.9 kB / 0.6066 GB, free: 13.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007197/0.8695, allocations: 4.044 MB / 0.6105 GB, free: 9.238 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.8696, allocations: 448 / 0.6105 GB, free: 9.238 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005321/0.8749, allocations: 3.064 MB / 0.6135 GB, free: 6.027 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.8772, allocations: 342.6 kB / 0.6139 GB, free: 5.695 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.8889, allocations: 5.699 MB / 0.6194 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001663/0.8907, allocations: 1.592 MB / 0.621 GB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00103/0.8917, allocations: 147 kB / 0.6211 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.892, allocations: 83.44 kB / 0.6212 GB, free: 14.12 MB / 410.7 MB Notification: Performance of SimCode: time 2.504e-06/0.892, allocations: 4 kB / 0.6212 GB, free: 14.12 MB / 410.7 MB Notification: Performance of Templates: time 0.06439/0.9564, allocations: 32.49 MB / 0.6529 GB, free: 14.07 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/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