Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.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.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") [: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 3.2.3+maint.om/package.mo): time 0.001623/0.001623, allocations: 182.9 kB / 8.155 MB, free: 2.18 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.2 MB / 213.8 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001224/0.001224, allocations: 85.14 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.255e-06/8.276e-06, allocations: 0 / 314.3 MB, free: 9.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2316, allocations: 47.55 MB / 361.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.3684, allocations: 86.81 MB / 448.7 MB, free: 15.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/0.3688, allocations: 83.94 kB / 448.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0575/0.4263, allocations: 13.25 MB / 462 MB, free: 1.902 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.267e-05/0.4264, allocations: 16.75 kB / 462 MB, free: 1.887 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002567/0.429, allocations: 0.8754 MB / 462.9 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.429, allocations: 8.031 kB / 462.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002988/0.4294, allocations: 82.97 kB / 463 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.4307, allocations: 498 kB / 463.5 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/0.4308, allocations: 24 kB / 463.5 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.4309, allocations: 40 kB / 463.5 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001578/0.4325, allocations: 454.4 kB / 464 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.4342, allocations: 0.5871 MB / 464.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.4343, allocations: 0 / 464.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.556e-05/0.4344, allocations: 8 kB / 464.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.4344, allocations: 15.94 kB / 464.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006417/0.4408, allocations: 2.478 MB / 467.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.4421, allocations: 432.3 kB / 467.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/0.4428, allocations: 246.5 kB / 467.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.862e-05/0.4428, allocations: 4.438 kB / 467.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007603/0.4436, allocations: 295.8 kB / 468 MB, free: 11.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=55): time 3.687e-06/0.4436, allocations: 5.312 kB / 468 MB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.001466/0.4451, allocations: 464.7 kB / 468.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.549e-05/0.4452, allocations: 115.3 kB / 468.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007629/0.446, allocations: 357.1 kB / 468.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.332e-05/0.4461, allocations: 33.7 kB / 469 MB, free: 10.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.4464, allocations: 302.6 kB / 469.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.4466, allocations: 161.7 kB / 469.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.4466, allocations: 0 / 469.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4468, allocations: 342.7 kB / 469.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/0.4474, allocations: 169.3 kB / 469.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006704/0.4481, allocations: 318.9 kB / 470.2 MB, free: 9.289 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005718/0.4486, allocations: 181.4 kB / 470.4 MB, free: 9.109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.4487, allocations: 0 / 470.4 MB, free: 9.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001622/0.4503, allocations: 0.5556 MB / 471 MB, free: 8.543 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007214/0.451, allocations: 1.578 MB / 472.5 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.4511, allocations: 4 kB / 472.5 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007697/0.4518, allocations: 144.7 kB / 472.7 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007053/0.4526, allocations: 95.83 kB / 472.8 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/0.4567, allocations: 2.054 MB / 474.8 MB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007084/0.4575, allocations: 71.66 kB / 474.9 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-05/0.4576, allocations: 24 kB / 474.9 MB, free: 4.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4576, allocations: 7.281 kB / 474.9 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001489/0.4591, allocations: 0.4968 MB / 475.4 MB, free: 3.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.4591, allocations: 4 kB / 475.4 MB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006721/0.4598, allocations: 148.7 kB / 475.6 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/0.4604, allocations: 83.83 kB / 475.7 MB, free: 3.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004046/0.4645, allocations: 2.06 MB / 477.7 MB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000664/0.4652, allocations: 59.59 kB / 477.8 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.576e-05/0.4653, allocations: 28 kB / 477.8 MB, free: 1.344 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002394/0.4655, allocations: 61.56 kB / 477.9 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.4657, allocations: 51.44 kB / 477.9 MB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.4659, allocations: 57 kB / 478 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.466, allocations: 8 kB / 478 MB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.466, allocations: 0 / 478 MB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.466, allocations: 7.891 kB / 478 MB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/0.4691, allocations: 1.196 MB / 479.2 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.4692, allocations: 0 / 479.2 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/0.4697, allocations: 47.92 kB / 479.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007095/0.4704, allocations: 148.1 kB / 479.4 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.985e-05/0.4705, allocations: 3.984 kB / 479.4 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004049/0.4745, allocations: 2.043 MB / 481.4 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.4746, allocations: 0 / 481.4 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002283/0.4769, allocations: 0.8209 MB / 482.2 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004164/0.4773, allocations: 184.2 kB / 482.4 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.4775, allocations: 8 kB / 482.4 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006378/0.4781, allocations: 31.97 kB / 482.5 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.4783, allocations: 48.34 kB / 482.5 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.589e-05/0.4784, allocations: 19.98 kB / 482.5 MB, free: 12.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005096/0.4789, allocations: 263.2 kB / 482.8 MB, free: 12.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001298/0.4802, allocations: 279.1 kB / 483.1 MB, free: 11.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002543/0.4805, allocations: 129.7 kB / 483.2 MB, free: 11.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00274/0.4832, allocations: 1.006 MB / 484.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.4833, allocations: 0 / 484.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009648/0.4842, allocations: 368.4 kB / 484.6 MB, free: 10.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008481/0.4851, allocations: 84.31 kB / 484.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.4886, allocations: 0.887 MB / 485.5 MB, free: 9.348 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009425/0.4896, allocations: 0.9727 MB / 486.5 MB, free: 8.348 MB / 378.7 MB Notification: Performance of SimCode: time 1.001e-06/0.4896, allocations: 0 / 486.5 MB, free: 8.348 MB / 378.7 MB Notification: Performance of Templates: time 0.02259/0.5122, allocations: 10.45 MB / 496.9 MB, free: 13.91 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_R/ThyristorBridge2Pulse_R.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches