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.001613/0.001613, allocations: 181.1 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.4 MB / 223.1 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001076, allocations: 98.59 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002756/0.0002756, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3333, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.4506, allocations: 81.42 MB / 457.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.451, allocations: 71.95 kB / 457.3 MB, free: 15.18 MB / 346.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.1089/0.5599, allocations: 40.52 MB / 497.8 MB, free: 6.516 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.56, allocations: 0 / 497.8 MB, free: 6.516 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001149/0.5601, allocations: 52 kB / 497.9 MB, free: 6.465 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.007527/0.5676, allocations: 2.72 MB / 0.4889 GB, free: 3.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.5677, allocations: 12.03 kB / 0.4889 GB, free: 3.648 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.5692, allocations: 292.6 kB / 0.4892 GB, free: 3.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.5716, allocations: 1.028 MB / 0.4902 GB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.5718, allocations: 197.2 kB / 0.4903 GB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004066/0.5722, allocations: 263.8 kB / 0.4906 GB, free: 1.832 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2413/0.8135, allocations: 2.61 MB / 0.4931 GB, free: 88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.609e-05/0.8136, allocations: 4.469 kB / 0.4931 GB, free: 88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002834/0.8139, allocations: 110 kB / 0.4933 GB, free: 88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/0.814, allocations: 63.84 kB / 0.4933 GB, free: 88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005283/0.8193, allocations: 1.95 MB / 0.4952 GB, free: 87.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0166/0.8359, allocations: 9.669 MB / 0.5047 GB, free: 84.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005569/0.8416, allocations: 2.835 MB / 0.5074 GB, free: 84.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.8418, allocations: 21.16 kB / 0.5075 GB, free: 84.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00181/0.8436, allocations: 0.9553 MB / 0.5084 GB, free: 84.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=218): time 4.218e-06/0.8436, allocations: 0 / 0.5084 GB, free: 84.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.01312/0.8567, allocations: 5.504 MB / 0.5138 GB, free: 82.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/0.8569, allocations: 85.91 kB / 0.5138 GB, free: 82.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.8585, allocations: 1.036 MB / 0.5149 GB, free: 81.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002675/0.8588, allocations: 69.58 kB / 0.5149 GB, free: 81.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007644/0.8596, allocations: 0.9106 MB / 0.5158 GB, free: 81.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006544/0.8602, allocations: 0.6897 MB / 0.5165 GB, free: 80.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.8604, allocations: 50.09 kB / 0.5165 GB, free: 80.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.8605, allocations: 401 kB / 0.5169 GB, free: 80.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.8617, allocations: 0.7031 MB / 0.5176 GB, free: 79.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.8632, allocations: 1.251 MB / 0.5188 GB, free: 78.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.8645, allocations: 0.7847 MB / 0.5196 GB, free: 78.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/0.8646, allocations: 6.375 kB / 0.5196 GB, free: 78.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.006011/0.8706, allocations: 3.06 MB / 0.5226 GB, free: 77.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.256e-05/0.8707, allocations: 16.03 kB / 0.5226 GB, free: 77.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.375e-05/0.8707, allocations: 15.97 kB / 0.5226 GB, free: 77.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003419/0.8742, allocations: 1.193 MB / 0.5238 GB, free: 76.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.8754, allocations: 286.2 kB / 0.524 GB, free: 76.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/0.8951, allocations: 22.76 MB / 0.5463 GB, free: 57.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/0.8977, allocations: 337.9 kB / 0.5466 GB, free: 57.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/0.8979, allocations: 91.03 kB / 0.5467 GB, free: 57.05 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.001305/0.8992, allocations: 0.4905 MB / 0.5472 GB, free: 56.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.8995, allocations: 175.2 kB / 0.5473 GB, free: 56.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004115/0.8999, allocations: 226.1 kB / 0.5475 GB, free: 56.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.8999, allocations: 22.78 kB / 0.5476 GB, free: 56.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.901e-05/0.9, allocations: 16.69 kB / 0.5476 GB, free: 56.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.9001, allocations: 14.73 kB / 0.5476 GB, free: 56.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003061/0.9031, allocations: 2.102 MB / 0.5496 GB, free: 55.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.9031, allocations: 0 / 0.5496 GB, free: 55.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007036/0.9039, allocations: 132.9 kB / 0.5498 GB, free: 55.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002919/0.9068, allocations: 1.172 MB / 0.5509 GB, free: 54.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/0.9069, allocations: 40 kB / 0.551 GB, free: 54.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01875/0.9257, allocations: 22.74 MB / 0.5732 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.9258, allocations: 3.938 kB / 0.5732 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006759/0.9325, allocations: 3.643 MB / 0.5767 GB, free: 27.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/0.9337, allocations: 465.3 kB / 0.5772 GB, free: 27.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.9339, allocations: 46.86 kB / 0.5772 GB, free: 27.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009914/0.9349, allocations: 135.2 kB / 0.5773 GB, free: 26.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008292/0.9358, allocations: 273.6 kB / 0.5776 GB, free: 26.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.9359, allocations: 54.72 kB / 0.5776 GB, free: 26.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009559/0.9368, allocations: 0.7304 MB / 0.5784 GB, free: 26.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9368, allocations: 4 kB / 0.5784 GB, free: 26.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002816/0.9397, allocations: 0.8015 MB / 0.5791 GB, free: 25.32 MB / 378.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.0002828/0.94, allocations: 177.5 kB / 0.5793 GB, free: 25.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005286/0.9453, allocations: 4.043 MB / 0.5833 GB, free: 21.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.9453, allocations: 4.062 kB / 0.5833 GB, free: 21.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003558/0.9488, allocations: 3.075 MB / 0.5863 GB, free: 18.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.9503, allocations: 320.6 kB / 0.5866 GB, free: 18.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007147/0.9574, allocations: 5.706 MB / 0.5922 GB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.9585, allocations: 1.591 MB / 0.5937 GB, free: 11.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008003/0.9593, allocations: 151 kB / 0.5938 GB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.9595, allocations: 83.44 kB / 0.5939 GB, free: 11.06 MB / 378.7 MB Notification: Performance of SimCode: time 1.183e-06/0.9595, allocations: 0 / 0.5939 GB, free: 11.06 MB / 378.7 MB Notification: Performance of Templates: time 0.05728/1.017, allocations: 32.5 MB / 0.6257 GB, free: 10.58 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