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.001627/0.001627, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.984/1.984, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00109/0.001089, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.725e-05/2.734e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09373/0.09378, allocations: 47.57 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4057/0.4995, allocations: 81.34 MB / 450.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.4998, allocations: 70.45 kB / 450.5 MB, free: 11.88 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.1806/0.6804, allocations: 40.59 MB / 491.1 MB, free: 5.094 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6805, allocations: 0 / 491.1 MB, free: 5.094 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001544/0.6807, allocations: 56 kB / 491.1 MB, free: 5.039 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.009762/0.6904, allocations: 2.526 MB / 493.7 MB, free: 2.434 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.6905, allocations: 12.03 kB / 493.7 MB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.6918, allocations: 288.5 kB / 494 MB, free: 2.137 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003023/0.6948, allocations: 1.024 MB / 495 MB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002527/0.6951, allocations: 213.1 kB / 495.2 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008078/0.696, allocations: 263.9 kB / 495.4 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008864/0.7048, allocations: 2.56 MB / 498 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-05/0.705, allocations: 3.938 kB / 498 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003911/0.7054, allocations: 108 kB / 498.1 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.7055, allocations: 64 kB / 498.2 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006973/0.7125, allocations: 1.878 MB / 0.4883 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02643/0.739, allocations: 9.665 MB / 0.4978 GB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/0.7501, allocations: 2.801 MB / 0.5005 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00298/0.7532, allocations: 1.059 MB / 0.5015 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/0.7535, allocations: 26 kB / 0.5016 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002746/0.7562, allocations: 0.9371 MB / 0.5025 GB, free: 13.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=218): time 5.841e-06/0.7563, allocations: 0 / 0.5025 GB, free: 13.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=218): time 0.01406/0.7703, allocations: 2.484 MB / 0.5049 GB, free: 10.58 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.7706, allocations: 89.39 kB / 0.505 GB, free: 10.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003673/0.7743, allocations: 1.017 MB / 0.506 GB, free: 9.445 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005016/0.7748, allocations: 69.7 kB / 0.5061 GB, free: 9.371 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.7758, allocations: 0.9035 MB / 0.5069 GB, free: 8.457 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001172/0.777, allocations: 0.6933 MB / 0.5076 GB, free: 7.754 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.7772, allocations: 48 kB / 0.5077 GB, free: 7.707 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002637/0.7775, allocations: 403.9 kB / 0.508 GB, free: 7.305 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/0.7798, allocations: 0.6767 MB / 0.5087 GB, free: 6.625 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002646/0.7824, allocations: 1.228 MB / 0.5099 GB, free: 5.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002267/0.7847, allocations: 0.7632 MB / 0.5106 GB, free: 4.395 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/0.7848, allocations: 4 kB / 0.5107 GB, free: 4.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.009445/0.7942, allocations: 2.938 MB / 0.5135 GB, free: 1.406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/0.7943, allocations: 12 kB / 0.5135 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.726e-05/0.7944, allocations: 16 kB / 0.5135 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006209/0.8006, allocations: 1.172 MB / 0.5147 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002049/0.8027, allocations: 291.5 kB / 0.515 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3122/1.115, allocations: 22.26 MB / 0.5367 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/1.118, allocations: 337 kB / 0.537 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003092/1.119, allocations: 94.66 kB / 0.5371 GB, free: 101.3 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.00061/1.119, allocations: 276.3 kB / 0.5374 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005128/1.12, allocations: 185 kB / 0.5376 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005698/1.12, allocations: 218.8 kB / 0.5378 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/1.12, allocations: 25.22 kB / 0.5378 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-05/1.12, allocations: 21.31 kB / 0.5378 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-05/1.12, allocations: 10.27 kB / 0.5378 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004712/1.125, allocations: 2.091 MB / 0.5399 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-05/1.125, allocations: 1.438 kB / 0.5399 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/1.127, allocations: 141.4 kB / 0.54 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005965/1.133, allocations: 1.152 MB / 0.5411 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004676/1.133, allocations: 46.52 kB / 0.5412 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03142/1.165, allocations: 22.25 MB / 0.5629 GB, free: 85.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.165, allocations: 3.375 kB / 0.5629 GB, free: 85.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/1.177, allocations: 3.575 MB / 0.5664 GB, free: 84.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/1.178, allocations: 467.6 kB / 0.5668 GB, free: 83.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003964/1.178, allocations: 42.72 kB / 0.5669 GB, free: 83.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/1.18, allocations: 131.4 kB / 0.567 GB, free: 83.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00103/1.181, allocations: 276.6 kB / 0.5673 GB, free: 83.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/1.182, allocations: 53.44 kB / 0.5673 GB, free: 83.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001367/1.183, allocations: 0.7195 MB / 0.568 GB, free: 83.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.183, allocations: 0 / 0.568 GB, free: 83.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003648/1.187, allocations: 0.7945 MB / 0.5688 GB, free: 83.23 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.0004872/1.187, allocations: 179 kB / 0.569 GB, free: 83.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008673/1.196, allocations: 3.95 MB / 0.5728 GB, free: 80.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.196, allocations: 0.5625 kB / 0.5728 GB, free: 80.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006457/1.202, allocations: 2.982 MB / 0.5757 GB, free: 78.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/1.205, allocations: 347.4 kB / 0.5761 GB, free: 78.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/1.215, allocations: 3.941 MB / 0.5799 GB, free: 76.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/1.217, allocations: 1.594 MB / 0.5815 GB, free: 75.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000596/1.217, allocations: 94.53 kB / 0.5816 GB, free: 75.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/1.217, allocations: 0 / 0.5816 GB, free: 75.82 MB / 410.7 MB Notification: Performance of Templates: time 0.4553/1.672, allocations: 126.8 MB / 0.7054 GB, free: 118.2 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