Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009147/0.0009147, allocations: 174.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 221.5 MB / 230.3 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 92.8 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.969e-05/1.972e-05, allocations: 8 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1012, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2924/0.3936, allocations: 81.9 MB / 469.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.3939, allocations: 71.95 kB / 469.4 MB, free: 12.88 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.1046/0.4985, allocations: 41.26 MB / 0.4987 GB, free: 3.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4985, allocations: 0 / 0.4987 GB, free: 3.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.904e-05/0.4986, allocations: 51.98 kB / 0.4988 GB, free: 3.434 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.005318/0.5039, allocations: 2.528 MB / 0.5012 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.504, allocations: 8.031 kB / 0.5012 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005669/0.5046, allocations: 292.5 kB / 0.5015 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.5062, allocations: 1.024 MB / 0.5025 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.951e-05/0.5063, allocations: 88 kB / 0.5026 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/0.5066, allocations: 163.9 kB / 0.5028 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00318/0.5098, allocations: 1.705 MB / 0.5044 GB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003705/0.5135, allocations: 2.198 MB / 0.5066 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/0.5136, allocations: 0 / 0.5066 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/0.5137, allocations: 7.953 kB / 0.5066 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/0.5138, allocations: 64 kB / 0.5066 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/0.5271, allocations: 9.24 MB / 0.5157 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005282/0.5324, allocations: 2.695 MB / 0.5183 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.5339, allocations: 0.9947 MB / 0.5193 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.5341, allocations: 29.97 kB / 0.5193 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001402/0.5355, allocations: 0.8707 MB / 0.5201 GB, free: 13.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=218): time 3.667e-06/0.5355, allocations: 4 kB / 0.5201 GB, free: 13.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.004369/0.5399, allocations: 2.293 MB / 0.5224 GB, free: 10.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.5399, allocations: 81.34 kB / 0.5225 GB, free: 10.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.5412, allocations: 0.8436 MB / 0.5233 GB, free: 9.762 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.5413, allocations: 29.7 kB / 0.5233 GB, free: 9.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006831/0.542, allocations: 0.9437 MB / 0.5242 GB, free: 8.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005403/0.5425, allocations: 0.6544 MB / 0.5249 GB, free: 8.105 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/0.5426, allocations: 8 kB / 0.5249 GB, free: 8.098 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.5428, allocations: 403 kB / 0.5253 GB, free: 7.699 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.5438, allocations: 0.6182 MB / 0.5259 GB, free: 7.078 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.5451, allocations: 1.165 MB / 0.527 GB, free: 5.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.5462, allocations: 0.7085 MB / 0.5277 GB, free: 4.977 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/0.5462, allocations: 4 kB / 0.5277 GB, free: 4.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004967/0.5512, allocations: 2.704 MB / 0.5303 GB, free: 2.223 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.5513, allocations: 13.56 kB / 0.5304 GB, free: 2.211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.201e-05/0.5513, allocations: 20 kB / 0.5304 GB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002944/0.5542, allocations: 1.112 MB / 0.5315 GB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009842/0.5552, allocations: 283.5 kB / 0.5317 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2246/0.7798, allocations: 21.46 MB / 0.5527 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.7819, allocations: 275.7 kB / 0.553 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/0.7822, allocations: 93.86 kB / 0.553 GB, free: 106.3 MB / 426.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.0004394/0.7826, allocations: 195.6 kB / 0.5532 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/0.783, allocations: 170.9 kB / 0.5534 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004745/0.7835, allocations: 185.3 kB / 0.5536 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.7835, allocations: 24.94 kB / 0.5536 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.158e-05/0.7836, allocations: 17.77 kB / 0.5536 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/0.7836, allocations: 9.703 kB / 0.5536 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.7862, allocations: 1.778 MB / 0.5554 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.7862, allocations: 0 / 0.5554 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007191/0.787, allocations: 138.4 kB / 0.5555 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002911/0.7899, allocations: 1.097 MB / 0.5566 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/0.79, allocations: 15.59 kB / 0.5566 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01797/0.808, allocations: 21.43 MB / 0.5775 GB, free: 91.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/0.8081, allocations: 9.109 kB / 0.5775 GB, free: 91.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006805/0.8149, allocations: 3.35 MB / 0.5808 GB, free: 90.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009698/0.8159, allocations: 455.7 kB / 0.5812 GB, free: 90.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/0.8161, allocations: 7.609 kB / 0.5812 GB, free: 90.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.8172, allocations: 101.6 kB / 0.5813 GB, free: 90.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000788/0.818, allocations: 273 kB / 0.5816 GB, free: 90.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.8181, allocations: 54.73 kB / 0.5816 GB, free: 90.19 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008605/0.819, allocations: 0.5728 MB / 0.5822 GB, free: 89.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.819, allocations: 0 / 0.5822 GB, free: 89.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003169/0.8221, allocations: 0.7015 MB / 0.5829 GB, free: 89.86 MB / 426.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.0003247/0.8225, allocations: 148.7 kB / 0.583 GB, free: 89.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005668/0.8281, allocations: 3.698 MB / 0.5866 GB, free: 87.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.8282, allocations: 2.594 kB / 0.5866 GB, free: 87.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004258/0.8325, allocations: 2.816 MB / 0.5894 GB, free: 85.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.8344, allocations: 261.5 kB / 0.5896 GB, free: 85.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00656/0.841, allocations: 3.788 MB / 0.5933 GB, free: 83.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.8422, allocations: 1.588 MB / 0.5949 GB, free: 82.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007037/0.8429, allocations: 135.4 kB / 0.595 GB, free: 82.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.8431, allocations: 74.7 kB / 0.5951 GB, free: 82.86 MB / 426.7 MB Notification: Performance of SimCode: time 8.31e-07/0.8431, allocations: 0 / 0.5951 GB, free: 82.86 MB / 426.7 MB Notification: Performance of Templates: time 0.04406/0.8872, allocations: 29.48 MB / 0.6239 GB, free: 74.87 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassSC/CauerLowPassSC.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches