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.001454/0.001454, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.877/1.877, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.00113/0.00113, allocations: 90.16 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003673, allocations: 8 kB / 327 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3239, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.452, allocations: 81.43 MB / 456 MB, free: 15.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.4524, allocations: 75.95 kB / 456 MB, free: 15.27 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.1681/0.6204, allocations: 40.51 MB / 496.5 MB, free: 6.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.6205, allocations: 0 / 496.5 MB, free: 6.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001419/0.6207, allocations: 63.92 kB / 496.6 MB, free: 6.551 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.01069/0.6314, allocations: 2.72 MB / 499.3 MB, free: 3.746 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.6314, allocations: 8.031 kB / 499.3 MB, free: 3.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.6327, allocations: 288.6 kB / 499.6 MB, free: 3.453 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/0.6356, allocations: 1.036 MB / 0.4889 GB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/0.6359, allocations: 197.1 kB / 0.4891 GB, free: 2.176 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008999/0.6368, allocations: 263.9 kB / 0.4894 GB, free: 1.918 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.277/0.9139, allocations: 2.614 MB / 0.4919 GB, free: 87.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.844e-05/0.914, allocations: 4.219 kB / 0.4919 GB, free: 87.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003593/0.9144, allocations: 107 kB / 0.492 GB, free: 87.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.9145, allocations: 63.78 kB / 0.4921 GB, free: 87.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007002/0.9215, allocations: 1.947 MB / 0.494 GB, free: 87.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02315/0.9447, allocations: 9.668 MB / 0.5034 GB, free: 84.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/0.9553, allocations: 2.841 MB / 0.5062 GB, free: 84.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.9556, allocations: 21.38 kB / 0.5062 GB, free: 84.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002647/0.9582, allocations: 0.9571 MB / 0.5071 GB, free: 84.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=218): time 7.164e-06/0.9583, allocations: 0 / 0.5071 GB, free: 84.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.02371/0.982, allocations: 5.506 MB / 0.5125 GB, free: 82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.9821, allocations: 82.34 kB / 0.5126 GB, free: 81.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/0.9841, allocations: 1.038 MB / 0.5136 GB, free: 81.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004011/0.9845, allocations: 69.27 kB / 0.5137 GB, free: 81.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007006/0.9852, allocations: 0.9079 MB / 0.5146 GB, free: 80.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000769/0.986, allocations: 0.692 MB / 0.5152 GB, free: 80.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.9862, allocations: 50.38 kB / 0.5153 GB, free: 80.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.9864, allocations: 401.7 kB / 0.5157 GB, free: 79.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/0.9885, allocations: 0.7027 MB / 0.5164 GB, free: 79.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/0.9908, allocations: 1.254 MB / 0.5176 GB, free: 78.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.9929, allocations: 0.7807 MB / 0.5183 GB, free: 78.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.485e-05/0.9929, allocations: 6.938 kB / 0.5184 GB, free: 78.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.008837/1.002, allocations: 2.989 MB / 0.5213 GB, free: 76.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/1.002, allocations: 11.59 kB / 0.5213 GB, free: 76.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-05/1.002, allocations: 15.56 kB / 0.5213 GB, free: 76.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005904/1.008, allocations: 1.186 MB / 0.5225 GB, free: 76.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/1.01, allocations: 285.9 kB / 0.5227 GB, free: 76.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03066/1.04, allocations: 22.75 MB / 0.545 GB, free: 57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00309/1.044, allocations: 338 kB / 0.5453 GB, free: 56.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000435/1.044, allocations: 93.59 kB / 0.5454 GB, free: 56.82 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.001636/1.046, allocations: 0.4898 MB / 0.5458 GB, free: 56.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005392/1.046, allocations: 179 kB / 0.546 GB, free: 56.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005848/1.047, allocations: 228.4 kB / 0.5462 GB, free: 56.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/1.047, allocations: 24.03 kB / 0.5463 GB, free: 56.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.918e-05/1.047, allocations: 19.38 kB / 0.5463 GB, free: 56.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/1.047, allocations: 10.22 kB / 0.5463 GB, free: 56.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004079/1.051, allocations: 2.096 MB / 0.5483 GB, free: 55.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-05/1.051, allocations: 0 / 0.5483 GB, free: 55.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/1.053, allocations: 138.2 kB / 0.5485 GB, free: 55.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005895/1.058, allocations: 1.175 MB / 0.5496 GB, free: 54.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004018/1.059, allocations: 43.05 kB / 0.5496 GB, free: 54.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03103/1.09, allocations: 22.73 MB / 0.5718 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.09, allocations: 0 / 0.5718 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/1.102, allocations: 3.644 MB / 0.5754 GB, free: 27.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/1.103, allocations: 468.3 kB / 0.5758 GB, free: 27.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003997/1.103, allocations: 42.77 kB / 0.5759 GB, free: 27.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/1.105, allocations: 133.5 kB / 0.576 GB, free: 27.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009193/1.106, allocations: 271.9 kB / 0.5763 GB, free: 26.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/1.106, allocations: 59.42 kB / 0.5763 GB, free: 26.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001317/1.108, allocations: 0.7318 MB / 0.577 GB, free: 26.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.108, allocations: 0 / 0.577 GB, free: 26.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003306/1.111, allocations: 0.8023 MB / 0.5778 GB, free: 25.36 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.000406/1.112, allocations: 172.8 kB / 0.578 GB, free: 25.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008963/1.12, allocations: 4.044 MB / 0.5819 GB, free: 21.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.121, allocations: 0.5625 kB / 0.5819 GB, free: 21.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00649/1.127, allocations: 3.072 MB / 0.5849 GB, free: 18.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/1.13, allocations: 337.1 kB / 0.5853 GB, free: 18.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/1.141, allocations: 5.763 MB / 0.5909 GB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/1.143, allocations: 1.594 MB / 0.5925 GB, free: 11.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005868/1.143, allocations: 91.42 kB / 0.5925 GB, free: 11.23 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/1.143, allocations: 0 / 0.5925 GB, free: 11.23 MB / 378.7 MB Notification: Performance of Templates: time 0.4334/1.577, allocations: 126.8 MB / 0.7164 GB, free: 80.53 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