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.0015/0.0015, allocations: 182.7 kB / 18.04 MB, free: 3.656 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.301/1.301, allocations: 205.4 MB / 224.2 MB, free: 9.012 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.0008093/0.0008091, allocations: 86.36 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.00031, allocations: 12 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2195, allocations: 47.57 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09515/0.3147, allocations: 81.5 MB / 458.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.315, allocations: 75.95 kB / 458.6 MB, free: 14.98 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.1039/0.4189, allocations: 40.53 MB / 499.1 MB, free: 6.293 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.4189, allocations: 0 / 499.1 MB, free: 6.293 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001288/0.419, allocations: 55.98 kB / 499.2 MB, free: 6.238 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.006796/0.4258, allocations: 2.697 MB / 0.4901 GB, free: 3.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4259, allocations: 12.03 kB / 0.4901 GB, free: 3.441 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008191/0.4267, allocations: 285.6 kB / 0.4904 GB, free: 3.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.4289, allocations: 1.079 MB / 0.4915 GB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.4291, allocations: 197.5 kB / 0.4916 GB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005647/0.4296, allocations: 264.3 kB / 0.4919 GB, free: 1.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1772/0.6068, allocations: 2.633 MB / 0.4945 GB, free: 88.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001918/0.6071, allocations: 9.375 kB / 0.4945 GB, free: 88.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008009/0.6079, allocations: 103.7 kB / 0.4946 GB, free: 88.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001499/0.6081, allocations: 63.75 kB / 0.4946 GB, free: 88.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005156/0.6132, allocations: 1.949 MB / 0.4965 GB, free: 88.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.626, allocations: 9.681 MB / 0.506 GB, free: 85.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004835/0.6309, allocations: 2.825 MB / 0.5087 GB, free: 85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.6323, allocations: 1.085 MB / 0.5098 GB, free: 84.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.14e-05/0.6324, allocations: 26.12 kB / 0.5098 GB, free: 84.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001352/0.6338, allocations: 0.9635 MB / 0.5108 GB, free: 84.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=218): time 4.388e-06/0.6338, allocations: 0.9375 kB / 0.5108 GB, free: 84.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.01158/0.6454, allocations: 5.579 MB / 0.5162 GB, free: 81.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.6455, allocations: 87.47 kB / 0.5163 GB, free: 81.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.647, allocations: 1.18 MB / 0.5175 GB, free: 81.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.6471, allocations: 64.17 kB / 0.5175 GB, free: 81.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006162/0.6477, allocations: 0.9163 MB / 0.5184 GB, free: 80.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004731/0.6482, allocations: 0.6862 MB / 0.5191 GB, free: 80.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.6483, allocations: 55.56 kB / 0.5191 GB, free: 80.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.6485, allocations: 401.8 kB / 0.5195 GB, free: 79.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.6496, allocations: 0.7004 MB / 0.5202 GB, free: 79.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.6509, allocations: 1.267 MB / 0.5214 GB, free: 78.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/0.6532, allocations: 1.913 MB / 0.5233 GB, free: 77.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.6532, allocations: 6.188 kB / 0.5233 GB, free: 77.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004847/0.658, allocations: 3.067 MB / 0.5263 GB, free: 75.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.6581, allocations: 15.25 kB / 0.5263 GB, free: 75.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.089e-05/0.6581, allocations: 17.41 kB / 0.5263 GB, free: 75.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002954/0.6611, allocations: 1.175 MB / 0.5275 GB, free: 75.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008721/0.662, allocations: 291.3 kB / 0.5278 GB, free: 75.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01709/0.6791, allocations: 22.36 MB / 0.5496 GB, free: 55.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.681, allocations: 335.1 kB / 0.5499 GB, free: 55.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.6812, allocations: 92 kB / 0.55 GB, free: 55.5 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.0009765/0.6822, allocations: 497.5 kB / 0.5505 GB, free: 55.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.6824, allocations: 181.8 kB / 0.5507 GB, free: 54.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/0.6828, allocations: 227.9 kB / 0.5509 GB, free: 54.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.6828, allocations: 24 kB / 0.5509 GB, free: 54.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.323e-05/0.6829, allocations: 20 kB / 0.5509 GB, free: 54.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.6829, allocations: 13.12 kB / 0.5509 GB, free: 54.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/0.6853, allocations: 2.089 MB / 0.553 GB, free: 52.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.6853, allocations: 0 / 0.553 GB, free: 52.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006701/0.686, allocations: 144.3 kB / 0.5531 GB, free: 52.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002839/0.6888, allocations: 1.172 MB / 0.5543 GB, free: 51.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.689, allocations: 43.55 kB / 0.5543 GB, free: 51.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01694/0.7059, allocations: 22.32 MB / 0.5761 GB, free: 28.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.706, allocations: 4.062 kB / 0.5761 GB, free: 28.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006518/0.7125, allocations: 3.652 MB / 0.5797 GB, free: 25.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000834/0.7134, allocations: 466.5 kB / 0.5801 GB, free: 25.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/0.7136, allocations: 40 kB / 0.5801 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008918/0.7145, allocations: 132.8 kB / 0.5803 GB, free: 24.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006621/0.7151, allocations: 265.4 kB / 0.5805 GB, free: 24.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.139e-05/0.7152, allocations: 55.7 kB / 0.5806 GB, free: 24.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00088/0.7161, allocations: 0.7356 MB / 0.5813 GB, free: 24.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7161, allocations: 3.938 kB / 0.5813 GB, free: 24.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002329/0.7185, allocations: 0.7982 MB / 0.5821 GB, free: 23.3 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.0002629/0.7187, allocations: 186.4 kB / 0.5823 GB, free: 23.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005104/0.7238, allocations: 4.06 MB / 0.5862 GB, free: 19.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.7239, allocations: 0 / 0.5862 GB, free: 19.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003435/0.7273, allocations: 3.055 MB / 0.5892 GB, free: 16.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.729, allocations: 366.6 kB / 0.5896 GB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006881/0.7359, allocations: 5.704 MB / 0.5951 GB, free: 10.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000874/0.7368, allocations: 1.545 MB / 0.5966 GB, free: 9.145 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006985/0.7375, allocations: 151 kB / 0.5968 GB, free: 8.992 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.7377, allocations: 91.42 kB / 0.5969 GB, free: 8.906 MB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.7377, allocations: 0 / 0.5969 GB, free: 8.906 MB / 378.7 MB Notification: Performance of Templates: time 0.05203/0.7897, allocations: 32.75 MB / 0.6288 GB, free: 8.176 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/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_Modelica.Electrical.Analog.Examples.CauerLowPassSC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches