Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009925/0.0009925, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.19/1.19, allocations: 227.2 MB / 245 MB, free: 7.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008828/0.0008828, allocations: 110 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002007/0.0002007, allocations: 8 kB / 357.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1756, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09748/0.2731, allocations: 83.44 MB / 492.9 MB, free: 7.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/0.2734, allocations: 79.95 kB / 492.9 MB, free: 7.102 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.248/0.5213, allocations: 41.64 MB / 0.522 GB, free: 83.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.5214, allocations: 0 / 0.522 GB, free: 83.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.811e-05/0.5215, allocations: 52.88 kB / 0.5221 GB, free: 83.92 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.005367/0.5269, allocations: 2.736 MB / 0.5248 GB, free: 82.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.5269, allocations: 11.09 kB / 0.5248 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006355/0.5275, allocations: 281.7 kB / 0.525 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.5291, allocations: 1.027 MB / 0.526 GB, free: 81.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.657e-05/0.5292, allocations: 196.7 kB / 0.5262 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/0.5295, allocations: 270.2 kB / 0.5265 GB, free: 81.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003334/0.5328, allocations: 2.612 MB / 0.529 GB, free: 79.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.842e-05/0.5328, allocations: 3.938 kB / 0.529 GB, free: 79.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.533, allocations: 111.8 kB / 0.5292 GB, free: 79.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/0.5331, allocations: 68 kB / 0.5292 GB, free: 79.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/0.5357, allocations: 1.944 MB / 0.5311 GB, free: 77.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009708/0.5454, allocations: 9.672 MB / 0.5406 GB, free: 67.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004595/0.55, allocations: 2.814 MB / 0.5433 GB, free: 65.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.781e-05/0.5501, allocations: 29.98 kB / 0.5433 GB, free: 65.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001239/0.5514, allocations: 0.9526 MB / 0.5443 GB, free: 64.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=218): time 3.566e-06/0.5514, allocations: 0 / 0.5443 GB, free: 64.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.01084/0.5622, allocations: 5.492 MB / 0.5496 GB, free: 58.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.5623, allocations: 88.17 kB / 0.5497 GB, free: 58.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009309/0.5632, allocations: 1.038 MB / 0.5507 GB, free: 57.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.697e-05/0.5633, allocations: 65.7 kB / 0.5508 GB, free: 57.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.5637, allocations: 0.9162 MB / 0.5517 GB, free: 56.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003205/0.564, allocations: 0.6867 MB / 0.5524 GB, free: 55.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-05/0.5641, allocations: 48 kB / 0.5524 GB, free: 55.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.5642, allocations: 403 kB / 0.5528 GB, free: 55.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000967/0.5652, allocations: 0.7 MB / 0.5535 GB, free: 54.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.5664, allocations: 1.255 MB / 0.5547 GB, free: 52.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.5674, allocations: 0.779 MB / 0.5555 GB, free: 52.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.5674, allocations: 4 kB / 0.5555 GB, free: 52.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004355/0.5718, allocations: 3.055 MB / 0.5584 GB, free: 48.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.5718, allocations: 19.89 kB / 0.5585 GB, free: 48.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.5718, allocations: 19.98 kB / 0.5585 GB, free: 48.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00276/0.5746, allocations: 1.193 MB / 0.5596 GB, free: 47.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007703/0.5754, allocations: 283.5 kB / 0.5599 GB, free: 47.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01591/0.5913, allocations: 22.75 MB / 0.5821 GB, free: 23.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.593, allocations: 333.6 kB / 0.5825 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.5931, allocations: 96 kB / 0.5825 GB, free: 22.68 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.0008433/0.594, allocations: 0.4919 MB / 0.583 GB, free: 22.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.5942, allocations: 185.7 kB / 0.5832 GB, free: 22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.5946, allocations: 226.3 kB / 0.5834 GB, free: 21.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/0.5946, allocations: 20 kB / 0.5834 GB, free: 21.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.586e-05/0.5946, allocations: 16 kB / 0.5835 GB, free: 21.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.5946, allocations: 7.969 kB / 0.5835 GB, free: 21.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.5965, allocations: 2.097 MB / 0.5855 GB, free: 19.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.5965, allocations: 4 kB / 0.5855 GB, free: 19.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006171/0.5972, allocations: 139.8 kB / 0.5856 GB, free: 19.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002596/0.5998, allocations: 1.166 MB / 0.5868 GB, free: 18.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.5999, allocations: 47.92 kB / 0.5868 GB, free: 18.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01699/0.6169, allocations: 22.72 MB / 0.609 GB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6169, allocations: 3.984 kB / 0.609 GB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006318/0.6232, allocations: 3.644 MB / 0.6126 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008003/0.6241, allocations: 474.3 kB / 0.613 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/0.6243, allocations: 39.98 kB / 0.6131 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009987/0.6253, allocations: 131.9 kB / 0.6132 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005386/0.6259, allocations: 273.5 kB / 0.6135 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.626, allocations: 52 kB / 0.6135 GB, free: 5.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009735/0.627, allocations: 0.7321 MB / 0.6142 GB, free: 4.516 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.627, allocations: 0 / 0.6142 GB, free: 4.516 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002113/0.6291, allocations: 0.7993 MB / 0.615 GB, free: 3.715 MB / 394.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.0002742/0.6294, allocations: 184.3 kB / 0.6152 GB, free: 3.523 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005575/0.635, allocations: 4.053 MB / 0.6191 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.635, allocations: 64 / 0.6191 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003775/0.6388, allocations: 3.058 MB / 0.6221 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.64, allocations: 333 kB / 0.6224 GB, free: 11.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007676/0.6477, allocations: 5.712 MB / 0.628 GB, free: 6.055 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.649, allocations: 1.596 MB / 0.6296 GB, free: 4.418 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006049/0.6496, allocations: 147 kB / 0.6297 GB, free: 4.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.6498, allocations: 83.42 kB / 0.6298 GB, free: 4.188 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.6498, allocations: 4 kB / 0.6298 GB, free: 4.184 MB / 410.7 MB Notification: Performance of Templates: time 0.05057/0.7004, allocations: 32.49 MB / 0.6615 GB, free: 4.031 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches