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.002072/0.002072, allocations: 197.2 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 226.5 MB / 245.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009373/0.0009371, allocations: 94.62 kB / 297.5 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002502/0.0002505, allocations: 4 kB / 358.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2272, allocations: 51.3 MB / 409.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.3284, allocations: 83.41 MB / 492.8 MB, free: 8.125 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.3286, allocations: 71.95 kB / 492.9 MB, free: 8.055 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.3485/0.6771, allocations: 41.65 MB / 0.522 GB, free: 84.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.6772, allocations: 0 / 0.522 GB, free: 84.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.931e-05/0.6773, allocations: 54.19 kB / 0.522 GB, free: 84.65 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.005935/0.6832, allocations: 2.71 MB / 0.5247 GB, free: 83.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.6833, allocations: 7.656 kB / 0.5247 GB, free: 83.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005149/0.6838, allocations: 286.3 kB / 0.525 GB, free: 83.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.6853, allocations: 1.072 MB / 0.526 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.6855, allocations: 196.3 kB / 0.5262 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003123/0.6858, allocations: 269.2 kB / 0.5264 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00403/0.6898, allocations: 2.625 MB / 0.529 GB, free: 80.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-05/0.6899, allocations: 11.84 kB / 0.529 GB, free: 80.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/0.6901, allocations: 106.6 kB / 0.5291 GB, free: 80.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/0.6902, allocations: 65.62 kB / 0.5292 GB, free: 80.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003103/0.6933, allocations: 1.948 MB / 0.5311 GB, free: 79.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/0.7053, allocations: 9.686 MB / 0.5405 GB, free: 69.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004805/0.7102, allocations: 2.813 MB / 0.5433 GB, free: 66.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.7116, allocations: 1.079 MB / 0.5443 GB, free: 65.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-05/0.7117, allocations: 26 kB / 0.5444 GB, free: 65.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001443/0.7132, allocations: 0.9546 MB / 0.5453 GB, free: 64.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=218): time 5.31e-06/0.7132, allocations: 0 / 0.5453 GB, free: 64.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.01252/0.7257, allocations: 5.588 MB / 0.5508 GB, free: 58.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.7258, allocations: 81.41 kB / 0.5508 GB, free: 58.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.7273, allocations: 1.18 MB / 0.552 GB, free: 57.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.7275, allocations: 65.69 kB / 0.5521 GB, free: 57.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006976/0.7282, allocations: 0.9149 MB / 0.5529 GB, free: 56.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005862/0.7288, allocations: 0.693 MB / 0.5536 GB, free: 55.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.7289, allocations: 48 kB / 0.5537 GB, free: 55.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.729, allocations: 399 kB / 0.5541 GB, free: 55.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.7301, allocations: 0.6999 MB / 0.5547 GB, free: 54.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.7314, allocations: 1.27 MB / 0.556 GB, free: 53.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/0.7338, allocations: 1.909 MB / 0.5578 GB, free: 50.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.7338, allocations: 7.938 kB / 0.5578 GB, free: 50.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.00515/0.7389, allocations: 3.058 MB / 0.5608 GB, free: 47.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.739, allocations: 15.98 kB / 0.5608 GB, free: 47.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-05/0.7391, allocations: 19.94 kB / 0.5609 GB, free: 47.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003029/0.7421, allocations: 1.185 MB / 0.562 GB, free: 46.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.7431, allocations: 287.5 kB / 0.5623 GB, free: 46.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/0.7606, allocations: 22.35 MB / 0.5841 GB, free: 22.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/0.7628, allocations: 345.4 kB / 0.5845 GB, free: 21.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/0.763, allocations: 92 kB / 0.5845 GB, free: 21.9 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.001049/0.7641, allocations: 491.9 kB / 0.585 GB, free: 21.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.7643, allocations: 185.8 kB / 0.5852 GB, free: 21.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003204/0.7647, allocations: 230.3 kB / 0.5854 GB, free: 21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.7647, allocations: 20 kB / 0.5854 GB, free: 20.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.139e-05/0.7648, allocations: 16 kB / 0.5854 GB, free: 20.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/0.7648, allocations: 15.89 kB / 0.5855 GB, free: 20.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.7671, allocations: 2.093 MB / 0.5875 GB, free: 18.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.7671, allocations: 0 / 0.5875 GB, free: 18.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.7677, allocations: 135.8 kB / 0.5876 GB, free: 18.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002692/0.7704, allocations: 1.174 MB / 0.5888 GB, free: 17.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.7706, allocations: 43.98 kB / 0.5888 GB, free: 17.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01904/0.7896, allocations: 22.32 MB / 0.6106 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.7897, allocations: 0 / 0.6106 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007721/0.7974, allocations: 3.653 MB / 0.6142 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/0.799, allocations: 466.3 kB / 0.6146 GB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004307/0.7995, allocations: 47.94 kB / 0.6147 GB, free: 5.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.8006, allocations: 131.9 kB / 0.6148 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008726/0.8015, allocations: 273.5 kB / 0.6151 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.8016, allocations: 55.98 kB / 0.6151 GB, free: 4.859 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001221/0.8028, allocations: 0.7321 MB / 0.6158 GB, free: 4.125 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8028, allocations: 0 / 0.6158 GB, free: 4.125 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003622/0.8065, allocations: 0.7915 MB / 0.6166 GB, free: 3.332 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.0003994/0.8069, allocations: 176.4 kB / 0.6168 GB, free: 3.148 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006507/0.8134, allocations: 4.05 MB / 0.6207 GB, free: 14.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.8135, allocations: 0 / 0.6207 GB, free: 14.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004334/0.8178, allocations: 3.063 MB / 0.6237 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.8196, allocations: 351.8 kB / 0.6241 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008602/0.8282, allocations: 5.702 MB / 0.6296 GB, free: 5.664 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/0.8296, allocations: 1.553 MB / 0.6311 GB, free: 4.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000936/0.8306, allocations: 151 kB / 0.6313 GB, free: 3.918 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.8308, allocations: 87.42 kB / 0.6314 GB, free: 3.832 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.8308, allocations: 0 / 0.6314 GB, free: 3.832 MB / 410.7 MB Notification: Performance of Templates: time 0.06297/0.8938, allocations: 32.74 MB / 0.6633 GB, free: 3.441 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/jenkins1/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