Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009642/0.0009643, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008046/0.0008045, allocations: 82.7 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.27e-05/1.273e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08588/0.0859, allocations: 47.59 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.311/0.397, allocations: 80.91 MB / 444 MB, free: 14.83 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.3972, allocations: 68.89 kB / 444.1 MB, free: 14.79 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.1001/0.4973, allocations: 40.18 MB / 484.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4974, allocations: 4 kB / 484.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.689e-05/0.4975, allocations: 59.98 kB / 484.3 MB, free: 12.38 MB / 362.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.005332/0.5028, allocations: 2.526 MB / 486.8 MB, free: 9.773 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.5029, allocations: 8.031 kB / 486.8 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000599/0.5035, allocations: 288.5 kB / 487.1 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.505, allocations: 1.024 MB / 488.1 MB, free: 8.414 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.408e-05/0.5051, allocations: 91.98 kB / 488.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002748/0.5054, allocations: 163.9 kB / 488.4 MB, free: 8.164 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003072/0.5085, allocations: 1.709 MB / 490.1 MB, free: 6.449 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003756/0.5122, allocations: 2.195 MB / 492.3 MB, free: 4.121 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.339e-05/0.5123, allocations: 4 kB / 492.3 MB, free: 4.117 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.5125, allocations: 11.98 kB / 492.3 MB, free: 4.105 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.436e-05/0.5125, allocations: 64 kB / 492.4 MB, free: 4.043 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0139/0.5264, allocations: 9.229 MB / 0.4898 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005329/0.5318, allocations: 2.702 MB / 0.4925 GB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.5332, allocations: 1.003 MB / 0.4935 GB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.5333, allocations: 25.94 kB / 0.4935 GB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001389/0.5347, allocations: 0.8707 MB / 0.4943 GB, free: 5.988 MB / 378.7 MB Notification: Performance of pre-optimization done (n=218): time 4.889e-06/0.5347, allocations: 0 / 0.4943 GB, free: 5.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.004707/0.5394, allocations: 2.304 MB / 0.4966 GB, free: 3.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.5395, allocations: 77.41 kB / 0.4967 GB, free: 3.551 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.5409, allocations: 0.8514 MB / 0.4975 GB, free: 2.688 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001534/0.5411, allocations: 33.69 kB / 0.4975 GB, free: 2.648 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009145/0.542, allocations: 0.9359 MB / 0.4984 GB, free: 1.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006659/0.5427, allocations: 0.6582 MB / 0.4991 GB, free: 1.031 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.185e-05/0.5428, allocations: 4 kB / 0.4991 GB, free: 1.027 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.543, allocations: 395 kB / 0.4995 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.5441, allocations: 0.6221 MB / 0.5001 GB, free: 12 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.5455, allocations: 1.176 MB / 0.5012 GB, free: 14.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.5467, allocations: 0.7007 MB / 0.5019 GB, free: 13.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.5467, allocations: 4 kB / 0.5019 GB, free: 13.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004961/0.5517, allocations: 2.712 MB / 0.5045 GB, free: 11.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.5518, allocations: 15.95 kB / 0.5046 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/0.5518, allocations: 16 kB / 0.5046 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003009/0.5548, allocations: 1.112 MB / 0.5057 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009413/0.5558, allocations: 283.5 kB / 0.5059 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02068/0.5765, allocations: 21.47 MB / 0.5269 GB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/0.5787, allocations: 269.9 kB / 0.5272 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/0.579, allocations: 92 kB / 0.5272 GB, free: 2.48 MB / 410.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.0004018/0.5794, allocations: 192.4 kB / 0.5274 GB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/0.5797, allocations: 177.9 kB / 0.5276 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004578/0.5802, allocations: 185 kB / 0.5278 GB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.5802, allocations: 20 kB / 0.5278 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-05/0.5802, allocations: 20 kB / 0.5278 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/0.5803, allocations: 11.95 kB / 0.5278 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.5827, allocations: 1.782 MB / 0.5296 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.5827, allocations: 4 kB / 0.5296 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2173/0.8, allocations: 132.5 kB / 0.5297 GB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004907/0.805, allocations: 1.097 MB / 0.5308 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003507/0.8054, allocations: 13.47 kB / 0.5308 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02612/0.8315, allocations: 21.43 MB / 0.5517 GB, free: 95.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.8316, allocations: 0.6562 kB / 0.5517 GB, free: 95.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009543/0.8411, allocations: 3.363 MB / 0.555 GB, free: 94.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.8424, allocations: 447.2 kB / 0.5554 GB, free: 94.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003058/0.8427, allocations: 8.125 kB / 0.5554 GB, free: 94.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.8442, allocations: 101.7 kB / 0.5555 GB, free: 94.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001106/0.8453, allocations: 273 kB / 0.5558 GB, free: 94.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/0.8455, allocations: 54.16 kB / 0.5558 GB, free: 94.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001138/0.8466, allocations: 0.5746 MB / 0.5564 GB, free: 94.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.8467, allocations: 0 / 0.5564 GB, free: 94.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002956/0.8496, allocations: 0.7099 MB / 0.5571 GB, free: 94.63 MB / 410.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.0003183/0.85, allocations: 147.1 kB / 0.5572 GB, free: 94.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005075/0.855, allocations: 3.698 MB / 0.5608 GB, free: 93.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8551, allocations: 3.094 kB / 0.5608 GB, free: 93.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003773/0.8588, allocations: 2.821 MB / 0.5636 GB, free: 91.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.8602, allocations: 254.6 kB / 0.5638 GB, free: 91.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005385/0.8656, allocations: 3.779 MB / 0.5675 GB, free: 90.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.8667, allocations: 1.59 MB / 0.5691 GB, free: 89.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005631/0.8673, allocations: 135.2 kB / 0.5692 GB, free: 89.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.8675, allocations: 80.06 kB / 0.5693 GB, free: 89.5 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.8675, allocations: 0 / 0.5693 GB, free: 89.5 MB / 410.7 MB Notification: Performance of Templates: time 0.03882/0.9063, allocations: 29.49 MB / 0.5981 GB, free: 80.34 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassSC/CauerLowPassSC.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches