Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002135/0.002134, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 92 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.862e-05, allocations: 4 kB / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3318, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.4614, allocations: 80.67 MB / 443 MB, free: 5.617 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.4618, allocations: 75.95 kB / 443.1 MB, free: 5.543 MB / 331.1 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.1749/0.6367, allocations: 40.18 MB / 483.2 MB, free: 13.3 MB / 379.1 MB Notification: Performance of FrontEnd: time 4.779e-06/0.6368, allocations: 8 kB / 483.3 MB, free: 13.3 MB / 379.1 MB Notification: Performance of Transformations before backend: time 0.0001752/0.637, allocations: 52 kB / 483.3 MB, free: 13.25 MB / 379.1 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.009934/0.6469, allocations: 2.535 MB / 485.8 MB, free: 10.64 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.647, allocations: 9.062 kB / 485.9 MB, free: 10.63 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.6483, allocations: 288.5 kB / 486.1 MB, free: 10.34 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/0.6516, allocations: 1.032 MB / 487.2 MB, free: 9.273 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.6518, allocations: 92 kB / 487.3 MB, free: 9.184 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00074/0.6526, allocations: 159.8 kB / 487.4 MB, free: 9.027 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006888/0.6595, allocations: 1.709 MB / 489.1 MB, free: 7.312 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008192/0.6677, allocations: 2.198 MB / 491.3 MB, free: 4.98 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.352e-05/0.6678, allocations: 0 / 491.3 MB, free: 4.98 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002932/0.6681, allocations: 8 kB / 491.3 MB, free: 4.973 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-05/0.6682, allocations: 64 kB / 491.4 MB, free: 4.91 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0254/0.6936, allocations: 9.229 MB / 0.4889 GB, free: 11.48 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/0.7042, allocations: 2.708 MB / 0.4915 GB, free: 8.77 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00276/0.707, allocations: 0.9937 MB / 0.4925 GB, free: 7.777 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/0.7072, allocations: 26 kB / 0.4925 GB, free: 7.75 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002819/0.7101, allocations: 0.8707 MB / 0.4934 GB, free: 6.867 MB / 395.1 MB Notification: Performance of pre-optimization done (n=218): time 7.714e-06/0.7102, allocations: 4 kB / 0.4934 GB, free: 6.863 MB / 395.1 MB Notification: Performance of matching and sorting (n=218): time 0.008571/0.7187, allocations: 2.293 MB / 0.4956 GB, free: 4.523 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.7189, allocations: 93.34 kB / 0.4957 GB, free: 4.422 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.7209, allocations: 0.8436 MB / 0.4965 GB, free: 3.566 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004586/0.7214, allocations: 29.7 kB / 0.4966 GB, free: 3.531 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.7226, allocations: 0.9462 MB / 0.4975 GB, free: 2.574 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001195/0.7238, allocations: 0.6583 MB / 0.4981 GB, free: 1.906 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.724, allocations: 0 / 0.4981 GB, free: 1.906 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002816/0.7243, allocations: 403.9 kB / 0.4985 GB, free: 1.504 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001968/0.7263, allocations: 0.626 MB / 0.4991 GB, free: 0.875 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2748/1.001, allocations: 1.163 MB / 0.5003 GB, free: 100.9 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002468/1.004, allocations: 0.7099 MB / 0.501 GB, free: 100.9 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.707e-05/1.004, allocations: 4.469 kB / 0.501 GB, free: 100.9 MB / 395.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.009719/1.013, allocations: 2.654 MB / 0.5035 GB, free: 100.7 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/1.014, allocations: 17.48 kB / 0.5036 GB, free: 100.7 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.552e-05/1.014, allocations: 16.25 kB / 0.5036 GB, free: 100.7 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005763/1.019, allocations: 1.105 MB / 0.5047 GB, free: 100.6 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/1.022, allocations: 286.5 kB / 0.5049 GB, free: 100.6 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03018/1.052, allocations: 21.47 MB / 0.5259 GB, free: 86.1 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003143/1.055, allocations: 274.8 kB / 0.5262 GB, free: 86.04 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005525/1.056, allocations: 95.12 kB / 0.5263 GB, free: 86.04 MB / 395.1 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.0006042/1.056, allocations: 192.9 kB / 0.5264 GB, free: 85.9 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005937/1.057, allocations: 170.1 kB / 0.5266 GB, free: 85.82 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005926/1.057, allocations: 188.6 kB / 0.5268 GB, free: 85.78 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-05/1.057, allocations: 24.72 kB / 0.5268 GB, free: 85.78 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-05/1.058, allocations: 17.08 kB / 0.5268 GB, free: 85.78 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/1.058, allocations: 18.48 kB / 0.5268 GB, free: 85.78 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004098/1.062, allocations: 1.768 MB / 0.5286 GB, free: 85.04 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.807e-05/1.062, allocations: 0 / 0.5286 GB, free: 85.04 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/1.063, allocations: 139.4 kB / 0.5287 GB, free: 85.03 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005435/1.069, allocations: 1.104 MB / 0.5298 GB, free: 84.57 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004159/1.069, allocations: 7.875 kB / 0.5298 GB, free: 84.57 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02765/1.097, allocations: 21.44 MB / 0.5507 GB, free: 66.39 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.097, allocations: 2.109 kB / 0.5507 GB, free: 66.39 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/1.107, allocations: 3.361 MB / 0.554 GB, free: 64.81 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/1.109, allocations: 450.5 kB / 0.5544 GB, free: 64.52 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000443/1.109, allocations: 10.62 kB / 0.5544 GB, free: 64.51 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001963/1.111, allocations: 99.33 kB / 0.5545 GB, free: 64.5 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001009/1.112, allocations: 267.7 kB / 0.5548 GB, free: 64.45 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/1.112, allocations: 62.17 kB / 0.5549 GB, free: 64.43 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001134/1.113, allocations: 0.5726 MB / 0.5554 GB, free: 64.15 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.81e-07/1.113, allocations: 0 / 0.5554 GB, free: 64.15 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.004158/1.118, allocations: 0.7097 MB / 0.5561 GB, free: 64.1 MB / 395.1 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.0006535/1.118, allocations: 137.1 kB / 0.5562 GB, free: 63.99 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.008169/1.126, allocations: 3.69 MB / 0.5598 GB, free: 61.66 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.127, allocations: 0.5625 kB / 0.5598 GB, free: 61.66 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006104/1.133, allocations: 2.824 MB / 0.5626 GB, free: 59.68 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/1.135, allocations: 253.7 kB / 0.5628 GB, free: 59.6 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/1.145, allocations: 3.845 MB / 0.5666 GB, free: 57.67 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/1.147, allocations: 1.6 MB / 0.5682 GB, free: 56.89 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005692/1.147, allocations: 85.05 kB / 0.5682 GB, free: 56.88 MB / 395.1 MB Notification: Performance of SimCode: time 1.153e-06/1.147, allocations: 3.625 kB / 0.5682 GB, free: 56.88 MB / 395.1 MB Notification: Performance of Templates: time 0.4495/1.597, allocations: 125.7 MB / 0.691 GB, free: 121.9 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches