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.00116/0.00116, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.437/1.437, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008964/0.0008964, allocations: 82.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.96e-05/5.008e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 47.57 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3419/0.4505, allocations: 81.33 MB / 451.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.4508, allocations: 68.45 kB / 451.4 MB, free: 11.98 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.104/0.5548, allocations: 40.6 MB / 492 MB, free: 4.762 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5548, allocations: 8 kB / 492 MB, free: 4.754 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001031/0.5549, allocations: 52 kB / 492.1 MB, free: 4.703 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.005711/0.5607, allocations: 2.53 MB / 494.6 MB, free: 2.094 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.5607, allocations: 8.031 kB / 494.6 MB, free: 2.086 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007539/0.5615, allocations: 288.5 kB / 494.9 MB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.5633, allocations: 1.024 MB / 495.9 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.5635, allocations: 201.1 kB / 496.1 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003446/0.5638, allocations: 263.9 kB / 496.4 MB, free: 280 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004901/0.5687, allocations: 2.564 MB / 498.9 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.146e-05/0.5688, allocations: 7.938 kB / 498.9 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/0.569, allocations: 104 kB / 499 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.384e-05/0.5691, allocations: 68 kB / 499.1 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003521/0.5726, allocations: 1.878 MB / 0.4892 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.014/0.5866, allocations: 9.665 MB / 0.4987 GB, free: 1.621 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005611/0.5923, allocations: 2.801 MB / 0.5014 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.5938, allocations: 1.051 MB / 0.5024 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.5939, allocations: 22 kB / 0.5025 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001511/0.5955, allocations: 0.941 MB / 0.5034 GB, free: 12.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=218): time 3.657e-06/0.5955, allocations: 0 / 0.5034 GB, free: 12.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=218): time 0.004892/0.6004, allocations: 2.488 MB / 0.5058 GB, free: 10.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.6005, allocations: 81.39 kB / 0.5059 GB, free: 10.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.6021, allocations: 1.024 MB / 0.5069 GB, free: 9.117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001993/0.6023, allocations: 69.7 kB / 0.507 GB, free: 9.043 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008156/0.6031, allocations: 0.9128 MB / 0.5079 GB, free: 8.117 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006433/0.6038, allocations: 0.6933 MB / 0.5085 GB, free: 7.414 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.6039, allocations: 52 kB / 0.5086 GB, free: 7.363 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.6041, allocations: 395 kB / 0.509 GB, free: 6.973 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.6053, allocations: 0.6729 MB / 0.5096 GB, free: 6.297 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.6069, allocations: 1.224 MB / 0.5108 GB, free: 4.836 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.6082, allocations: 0.7671 MB / 0.5116 GB, free: 4.066 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/0.6082, allocations: 8 kB / 0.5116 GB, free: 4.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.005628/0.6138, allocations: 3.004 MB / 0.5145 GB, free: 1.008 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.6139, allocations: 12 kB / 0.5145 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/0.6139, allocations: 16 kB / 0.5145 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003375/0.6173, allocations: 1.182 MB / 0.5157 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.6184, allocations: 287.5 kB / 0.516 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2117/0.8301, allocations: 22.25 MB / 0.5377 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/0.8324, allocations: 346.9 kB / 0.538 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000287/0.8327, allocations: 93.81 kB / 0.5381 GB, free: 100.9 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.0005176/0.8332, allocations: 273.3 kB / 0.5384 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004317/0.8337, allocations: 184.1 kB / 0.5385 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000609/0.8343, allocations: 225.3 kB / 0.5388 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/0.8343, allocations: 22.45 kB / 0.5388 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.507e-05/0.8344, allocations: 16.62 kB / 0.5388 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.731e-05/0.8344, allocations: 11.39 kB / 0.5388 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003259/0.8377, allocations: 2.09 MB / 0.5408 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.8377, allocations: 0 / 0.5408 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008437/0.8386, allocations: 143.9 kB / 0.541 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003295/0.8419, allocations: 1.151 MB / 0.5421 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002089/0.8421, allocations: 45.44 kB / 0.5422 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01959/0.8617, allocations: 22.24 MB / 0.5639 GB, free: 85.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.8618, allocations: 0.7031 kB / 0.5639 GB, free: 85.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006982/0.8688, allocations: 3.581 MB / 0.5674 GB, free: 83.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.8699, allocations: 468.2 kB / 0.5678 GB, free: 83.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.8701, allocations: 49.08 kB / 0.5679 GB, free: 83.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009791/0.8711, allocations: 129.6 kB / 0.568 GB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007514/0.8718, allocations: 278.4 kB / 0.5683 GB, free: 83.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.8719, allocations: 54.27 kB / 0.5683 GB, free: 83.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000852/0.8728, allocations: 0.7189 MB / 0.569 GB, free: 82.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8728, allocations: 3.25 kB / 0.569 GB, free: 82.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002603/0.8754, allocations: 0.7932 MB / 0.5698 GB, free: 82.66 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.0003007/0.8757, allocations: 170 kB / 0.5699 GB, free: 82.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005175/0.8809, allocations: 3.949 MB / 0.5738 GB, free: 80.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.8809, allocations: 3.094 kB / 0.5738 GB, free: 80.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003702/0.8846, allocations: 2.986 MB / 0.5767 GB, free: 78.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.8864, allocations: 336.2 kB / 0.577 GB, free: 77.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006091/0.8925, allocations: 3.883 MB / 0.5808 GB, free: 76.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009636/0.8935, allocations: 1.595 MB / 0.5824 GB, free: 75.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008415/0.8943, allocations: 152.7 kB / 0.5825 GB, free: 75.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.8946, allocations: 85.17 kB / 0.5826 GB, free: 75.26 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.8946, allocations: 0 / 0.5826 GB, free: 75.26 MB / 410.7 MB Notification: Performance of Templates: time 0.04796/0.9425, allocations: 32.49 MB / 0.6144 GB, free: 59.73 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