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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009808/0.0009809, allocations: 184.8 kB / 8.137 MB, free: 2.215 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.214/1.214, allocations: 221.4 MB / 229.9 MB, free: 3.027 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.0009207/0.0009208, allocations: 101.1 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.548e-06/9.588e-06, allocations: 4 kB / 336.5 MB, free: 9.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1823, allocations: 50.39 MB / 386.9 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08511/0.2675, allocations: 81.83 MB / 468.7 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.2677, allocations: 68.72 kB / 468.8 MB, free: 4.922 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: time 0.255/0.5228, allocations: 41.2 MB / 0.498 GB, free: 85.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.775e-05/0.5229, allocations: 62.27 kB / 0.4981 GB, free: 85.27 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.004427/0.5273, allocations: 2.625 MB / 0.5007 GB, free: 84.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.5274, allocations: 6.812 kB / 0.5007 GB, free: 84.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000437/0.5278, allocations: 292.1 kB / 0.501 GB, free: 84.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.5292, allocations: 1.025 MB / 0.502 GB, free: 83.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.898e-05/0.5292, allocations: 86.31 kB / 0.502 GB, free: 83.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/0.5295, allocations: 162.4 kB / 0.5022 GB, free: 83.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002828/0.5323, allocations: 1.709 MB / 0.5039 GB, free: 83.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/0.5356, allocations: 2.198 MB / 0.506 GB, free: 83.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.262e-05/0.5356, allocations: 14.53 kB / 0.506 GB, free: 83.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/0.5358, allocations: 0 / 0.506 GB, free: 83.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.586e-05/0.5359, allocations: 65.5 kB / 0.5061 GB, free: 83.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/0.5471, allocations: 9.249 MB / 0.5151 GB, free: 79.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.5492, allocations: 1.667 MB / 0.5167 GB, free: 78.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.5503, allocations: 0.9683 MB / 0.5177 GB, free: 78.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.108e-05/0.5504, allocations: 27.16 kB / 0.5177 GB, free: 78.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.5516, allocations: 0.8283 MB / 0.5185 GB, free: 78.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=218): time 4.479e-06/0.5516, allocations: 0 / 0.5185 GB, free: 78.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.003997/0.5556, allocations: 2.241 MB / 0.5207 GB, free: 77.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.5556, allocations: 89.56 kB / 0.5208 GB, free: 77.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009032/0.5566, allocations: 0.8459 MB / 0.5216 GB, free: 76.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.5567, allocations: 33.67 kB / 0.5217 GB, free: 76.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/0.557, allocations: 0.799 MB / 0.5224 GB, free: 76.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003749/0.5574, allocations: 0.6519 MB / 0.5231 GB, free: 75.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-05/0.5575, allocations: 0.5 kB / 0.5231 GB, free: 75.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.5576, allocations: 398.4 kB / 0.5235 GB, free: 75.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.559, allocations: 0.6263 MB / 0.5241 GB, free: 74.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.5603, allocations: 1.171 MB / 0.5252 GB, free: 74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.5615, allocations: 0.7041 MB / 0.5259 GB, free: 73.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.5616, allocations: 3.094 kB / 0.5259 GB, free: 73.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004962/0.5665, allocations: 2.682 MB / 0.5285 GB, free: 71.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.5666, allocations: 4.156 kB / 0.5285 GB, free: 71.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.5666, allocations: 20 kB / 0.5285 GB, free: 71.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003225/0.5698, allocations: 1.107 MB / 0.5296 GB, free: 70.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000912/0.5708, allocations: 289.8 kB / 0.5299 GB, free: 70.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01672/0.5875, allocations: 21.06 MB / 0.5505 GB, free: 48.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.5893, allocations: 293 kB / 0.5507 GB, free: 48.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.5894, allocations: 92 kB / 0.5508 GB, free: 48.54 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 () * 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.0003289/0.5898, allocations: 196.1 kB / 0.551 GB, free: 48.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.59, allocations: 169.4 kB / 0.5512 GB, free: 48.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/0.5903, allocations: 178.5 kB / 0.5513 GB, free: 48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.5903, allocations: 24 kB / 0.5514 GB, free: 47.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.805e-05/0.5904, allocations: 16 kB / 0.5514 GB, free: 47.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.5904, allocations: 10.69 kB / 0.5514 GB, free: 47.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/0.5924, allocations: 1.787 MB / 0.5531 GB, free: 46.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.5924, allocations: 4.281 kB / 0.5531 GB, free: 46.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007271/0.5931, allocations: 150.3 kB / 0.5533 GB, free: 46.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002753/0.5959, allocations: 1.092 MB / 0.5544 GB, free: 45.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.596, allocations: 11.14 kB / 0.5544 GB, free: 45.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01642/0.6124, allocations: 21.01 MB / 0.5749 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6125, allocations: 4.062 kB / 0.5749 GB, free: 24.03 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005276/0.6177, allocations: 3.325 MB / 0.5781 GB, free: 20.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00066/0.6184, allocations: 454.4 kB / 0.5786 GB, free: 20.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/0.6187, allocations: 8 kB / 0.5786 GB, free: 20.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.6197, allocations: 113.8 kB / 0.5787 GB, free: 20.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/0.62, allocations: 179.2 kB / 0.5789 GB, free: 20.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.6201, allocations: 55.42 kB / 0.5789 GB, free: 20.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005954/0.6207, allocations: 0.5721 MB / 0.5795 GB, free: 19.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001945/0.6227, allocations: 0.6853 MB / 0.5801 GB, free: 19.05 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 () * 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.0002394/0.6229, allocations: 134.1 kB / 0.5803 GB, free: 18.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004216/0.6271, allocations: 3.421 MB / 0.5836 GB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6272, allocations: 1.688 kB / 0.5836 GB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002997/0.6302, allocations: 2.551 MB / 0.5861 GB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.6313, allocations: 241.3 kB / 0.5863 GB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006679/0.638, allocations: 3.84 MB / 0.5901 GB, free: 9.312 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/0.6391, allocations: 1.593 MB / 0.5916 GB, free: 7.992 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6391, allocations: 0 / 0.5916 GB, free: 7.992 MB / 378.7 MB Notification: Performance of Templates: time 0.04725/0.6863, allocations: 32.36 MB / 0.6232 GB, free: 8.328 MB / 410.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