Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002159/0.002158, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.827/3.827, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.001185/0.001184, allocations: 96.5 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00056/0.0005602, allocations: 12 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6107/0.6113, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1804/0.7917, allocations: 81.51 MB / 457.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003909/0.7922, allocations: 75.97 kB / 457.3 MB, free: 15.05 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.2003/0.9924, allocations: 40.52 MB / 497.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.55e-06/0.9926, allocations: 0 / 497.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002199/0.9928, allocations: 59.98 kB / 497.9 MB, free: 6.316 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.01469/1.007, allocations: 2.701 MB / 0.4888 GB, free: 3.527 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.792e-05/1.008, allocations: 8.031 kB / 0.4889 GB, free: 3.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/1.01, allocations: 289.5 kB / 0.4891 GB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005033/1.015, allocations: 1.067 MB / 0.4902 GB, free: 2.125 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004463/1.016, allocations: 201.5 kB / 0.4904 GB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001697/1.017, allocations: 264.3 kB / 0.4906 GB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4644/1.482, allocations: 2.631 MB / 0.4932 GB, free: 87.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/1.482, allocations: 9.5 kB / 0.4932 GB, free: 87.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005928/1.483, allocations: 107.2 kB / 0.4933 GB, free: 87.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001898/1.483, allocations: 63.88 kB / 0.4934 GB, free: 87.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009416/1.492, allocations: 1.948 MB / 0.4953 GB, free: 87.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03147/1.524, allocations: 9.674 MB / 0.5047 GB, free: 84.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/1.535, allocations: 2.84 MB / 0.5075 GB, free: 84.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003398/1.538, allocations: 1.077 MB / 0.5085 GB, free: 84.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/1.539, allocations: 21.12 kB / 0.5086 GB, free: 84.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002839/1.541, allocations: 0.9664 MB / 0.5095 GB, free: 84.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=218): time 9.208e-06/1.541, allocations: 0 / 0.5095 GB, free: 84.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.02502/1.566, allocations: 5.58 MB / 0.5149 GB, free: 81.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/1.567, allocations: 89.17 kB / 0.515 GB, free: 81.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00401/1.571, allocations: 1.184 MB / 0.5162 GB, free: 81.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007197/1.572, allocations: 65.52 kB / 0.5163 GB, free: 81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001485/1.573, allocations: 0.9138 MB / 0.5171 GB, free: 80.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001569/1.575, allocations: 0.682 MB / 0.5178 GB, free: 79.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000514/1.575, allocations: 52.06 kB / 0.5179 GB, free: 79.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003091/1.576, allocations: 402.4 kB / 0.5182 GB, free: 79.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002854/1.578, allocations: 0.7 MB / 0.5189 GB, free: 79.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003445/1.582, allocations: 1.268 MB / 0.5202 GB, free: 78.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005846/1.588, allocations: 1.922 MB / 0.522 GB, free: 76.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.851e-05/1.588, allocations: 3.594 kB / 0.522 GB, free: 76.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.0128/1.601, allocations: 3.067 MB / 0.525 GB, free: 75.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/1.601, allocations: 10 kB / 0.525 GB, free: 75.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-05/1.601, allocations: 17.66 kB / 0.5251 GB, free: 75.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007389/1.608, allocations: 1.185 MB / 0.5262 GB, free: 75.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002026/1.611, allocations: 290 kB / 0.5265 GB, free: 75.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03726/1.648, allocations: 22.35 MB / 0.5483 GB, free: 55.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004296/1.652, allocations: 334.6 kB / 0.5486 GB, free: 55.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009944/1.653, allocations: 91.75 kB / 0.5487 GB, free: 55.6 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.002964/1.656, allocations: 496.3 kB / 0.5492 GB, free: 55.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/1.657, allocations: 177.8 kB / 0.5494 GB, free: 55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/1.658, allocations: 227.3 kB / 0.5496 GB, free: 54.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.549e-05/1.659, allocations: 20 kB / 0.5496 GB, free: 54.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001395/1.659, allocations: 16 kB / 0.5496 GB, free: 54.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.874e-05/1.659, allocations: 14.08 kB / 0.5496 GB, free: 54.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006214/1.665, allocations: 2.098 MB / 0.5517 GB, free: 53.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.724e-05/1.665, allocations: 4 kB / 0.5517 GB, free: 53.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/1.666, allocations: 136.4 kB / 0.5518 GB, free: 53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005267/1.672, allocations: 1.179 MB / 0.553 GB, free: 51.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000517/1.672, allocations: 50.17 kB / 0.553 GB, free: 51.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03319/1.706, allocations: 22.31 MB / 0.5748 GB, free: 29.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.706, allocations: 3.703 kB / 0.5748 GB, free: 29.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/1.719, allocations: 3.651 MB / 0.5784 GB, free: 25.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002656/1.722, allocations: 467.7 kB / 0.5788 GB, free: 25.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009763/1.723, allocations: 40 kB / 0.5789 GB, free: 25.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002546/1.726, allocations: 137.5 kB / 0.579 GB, free: 25.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001484/1.727, allocations: 265.3 kB / 0.5793 GB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000239/1.728, allocations: 51.09 kB / 0.5793 GB, free: 24.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007673/1.735, allocations: 0.7377 MB / 0.58 GB, free: 24.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.735e-06/1.735, allocations: 0 / 0.58 GB, free: 24.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008096/1.744, allocations: 0.7953 MB / 0.5808 GB, free: 23.46 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.001271/1.745, allocations: 186.7 kB / 0.581 GB, free: 23.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01252/1.757, allocations: 4.06 MB / 0.5849 GB, free: 19.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-05/1.758, allocations: 0.5625 kB / 0.5849 GB, free: 19.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009238/1.767, allocations: 3.058 MB / 0.5879 GB, free: 16.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004135/1.771, allocations: 370.2 kB / 0.5883 GB, free: 16.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.788, allocations: 5.758 MB / 0.5939 GB, free: 10.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002207/1.79, allocations: 1.545 MB / 0.5954 GB, free: 9.156 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009314/1.791, allocations: 91.42 kB / 0.5955 GB, free: 9.07 MB / 378.7 MB Notification: Performance of SimCode: time 2.104e-06/1.791, allocations: 0 / 0.5955 GB, free: 9.07 MB / 378.7 MB Notification: Performance of Templates: time 0.6509/2.442, allocations: 135.1 MB / 0.7275 GB, free: 71.04 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches