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") [: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 trunk/package.mo): time 0.001837/0.001837, allocations: 195.2 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009341/0.0009341, allocations: 87.03 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.179e-05/1.184e-05, allocations: 4 kB / 343.1 MB, free: 8.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1364, allocations: 51.47 MB / 394.6 MB, free: 5.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3065/0.443, allocations: 82.64 MB / 477.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001674/0.4432, allocations: 66.7 kB / 477.3 MB, free: 10.14 MB / 346.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: time 0.1028/0.546, allocations: 41.27 MB / 0.5064 GB, free: 6.918 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.023e-05/0.5461, allocations: 55.98 kB / 0.5065 GB, free: 6.863 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.005006/0.5512, allocations: 2.624 MB / 0.509 GB, free: 4.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.5512, allocations: 12.03 kB / 0.5091 GB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005145/0.5517, allocations: 288.5 kB / 0.5093 GB, free: 3.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.5533, allocations: 1.024 MB / 0.5103 GB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9e-05/0.5534, allocations: 88 kB / 0.5104 GB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002864/0.5537, allocations: 163.9 kB / 0.5106 GB, free: 2.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003231/0.5569, allocations: 1.705 MB / 0.5122 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003749/0.5607, allocations: 2.198 MB / 0.5144 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.697e-05/0.5607, allocations: 0 / 0.5144 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.5609, allocations: 7.906 kB / 0.5144 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.324e-05/0.561, allocations: 67.94 kB / 0.5145 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01399/0.575, allocations: 9.251 MB / 0.5235 GB, free: 4.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/0.5775, allocations: 1.671 MB / 0.5251 GB, free: 3.305 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.579, allocations: 0.9713 MB / 0.5261 GB, free: 2.332 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-05/0.5791, allocations: 22 kB / 0.5261 GB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001348/0.5804, allocations: 0.8279 MB / 0.5269 GB, free: 1.469 MB / 394.7 MB Notification: Performance of pre-optimization done (n=218): time 4.518e-06/0.5804, allocations: 0 / 0.5269 GB, free: 1.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=218): time 0.00473/0.5852, allocations: 2.242 MB / 0.5291 GB, free: 15.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.5852, allocations: 85.39 kB / 0.5292 GB, free: 15.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.5865, allocations: 0.8436 MB / 0.53 GB, free: 14.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.5866, allocations: 33.7 kB / 0.53 GB, free: 14.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005923/0.5872, allocations: 0.7992 MB / 0.5308 GB, free: 13.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005268/0.5878, allocations: 0.6582 MB / 0.5315 GB, free: 12.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-05/0.5879, allocations: 7.938 kB / 0.5315 GB, free: 12.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.5881, allocations: 399 kB / 0.5318 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.5891, allocations: 0.6182 MB / 0.5324 GB, free: 11.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.5905, allocations: 1.168 MB / 0.5336 GB, free: 10.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.5916, allocations: 0.7046 MB / 0.5343 GB, free: 9.578 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.5916, allocations: 4 kB / 0.5343 GB, free: 9.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.005213/0.5968, allocations: 2.68 MB / 0.5369 GB, free: 6.848 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5969, allocations: 8 kB / 0.5369 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.5969, allocations: 17.97 kB / 0.5369 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003227/0.6001, allocations: 1.1 MB / 0.538 GB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.6012, allocations: 287.5 kB / 0.5383 GB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02081/0.622, allocations: 21.06 MB / 0.5588 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.6241, allocations: 293.8 kB / 0.5591 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/0.6243, allocations: 96 kB / 0.5592 GB, free: 14.61 MB / 442.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.0003956/0.6247, allocations: 193.2 kB / 0.5594 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/0.625, allocations: 169.9 kB / 0.5596 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004124/0.6254, allocations: 189 kB / 0.5597 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.6254, allocations: 23.94 kB / 0.5598 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.186e-05/0.6255, allocations: 16 kB / 0.5598 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.6255, allocations: 7.969 kB / 0.5598 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.6279, allocations: 1.782 MB / 0.5615 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6279, allocations: 0 / 0.5615 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007495/0.6287, allocations: 135.9 kB / 0.5616 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003176/0.6319, allocations: 1.102 MB / 0.5627 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/0.632, allocations: 8 kB / 0.5627 GB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1556/0.7876, allocations: 21.02 MB / 0.5833 GB, free: 141.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.7876, allocations: 6.938 kB / 0.5833 GB, free: 141.1 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00565/0.7933, allocations: 3.321 MB / 0.5865 GB, free: 140.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006869/0.794, allocations: 451 kB / 0.5869 GB, free: 140.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/0.7943, allocations: 10.03 kB / 0.5869 GB, free: 140.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009686/0.7952, allocations: 112.4 kB / 0.5871 GB, free: 140.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003303/0.7956, allocations: 180.5 kB / 0.5872 GB, free: 140.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.7957, allocations: 58.97 kB / 0.5873 GB, free: 140.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.000634/0.7963, allocations: 0.5685 MB / 0.5878 GB, free: 140.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001952/0.7983, allocations: 0.6891 MB / 0.5885 GB, free: 140.6 MB / 442.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.0002504/0.7985, allocations: 140.1 kB / 0.5886 GB, free: 140.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004666/0.8032, allocations: 3.428 MB / 0.592 GB, free: 139.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8032, allocations: 0 / 0.592 GB, free: 139.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003144/0.8064, allocations: 2.534 MB / 0.5945 GB, free: 138 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.8076, allocations: 242.3 kB / 0.5947 GB, free: 138 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006865/0.8145, allocations: 3.83 MB / 0.5984 GB, free: 136.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009987/0.8155, allocations: 1.597 MB / 0.6 GB, free: 136.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8155, allocations: 0 / 0.6 GB, free: 136.1 MB / 442.7 MB Notification: Performance of Templates: time 0.05037/0.8659, allocations: 32.39 MB / 0.6316 GB, free: 134.5 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