Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.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.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") [: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.002486/0.002485, allocations: 180.4 kB / 8.151 MB, free: 2.199 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.657/1.657, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.002089/0.002088, allocations: 89.42 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.768e-06/9.919e-06, allocations: 0 / 314.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2416, allocations: 47.56 MB / 361.9 MB, free: 45.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.3721, allocations: 83.9 MB / 445.7 MB, free: 2.141 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/0.3724, allocations: 79.95 kB / 445.8 MB, free: 2.062 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.04017/0.4126, allocations: 9.422 MB / 455.2 MB, free: 8.676 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.252e-05/0.4127, allocations: 12 kB / 455.3 MB, free: 8.664 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.001868/0.4146, allocations: 0.7032 MB / 456 MB, free: 7.914 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.4147, allocations: 12.03 kB / 456 MB, free: 7.902 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.4148, allocations: 59.34 kB / 456 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008304/0.4157, allocations: 371.5 kB / 456.4 MB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/0.4157, allocations: 15.91 kB / 456.4 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.882e-05/0.4158, allocations: 29.95 kB / 456.4 MB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008882/0.4167, allocations: 281.5 kB / 456.7 MB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.4177, allocations: 382.2 kB / 457.1 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.4178, allocations: 3.938 kB / 457.1 MB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/0.4179, allocations: 4 kB / 457.1 MB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.4179, allocations: 15.94 kB / 457.1 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003825/0.4217, allocations: 1.492 MB / 458.6 MB, free: 5.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.423, allocations: 331.3 kB / 458.9 MB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.4233, allocations: 97.31 kB / 459 MB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.4234, allocations: 240 / 459 MB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004756/0.4239, allocations: 209.2 kB / 459.2 MB, free: 4.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 2.315e-06/0.4239, allocations: 0 / 459.2 MB, free: 4.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009458/0.4248, allocations: 281.9 kB / 459.5 MB, free: 4.195 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/0.4249, allocations: 118.8 kB / 459.6 MB, free: 4.055 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004329/0.4254, allocations: 255.4 kB / 459.9 MB, free: 3.801 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.274e-05/0.4254, allocations: 37.69 kB / 459.9 MB, free: 3.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.4256, allocations: 250.5 kB / 460.2 MB, free: 3.508 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.4257, allocations: 90.66 kB / 460.2 MB, free: 3.418 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.4258, allocations: 4 kB / 460.2 MB, free: 3.414 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.4259, allocations: 326.8 kB / 460.6 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.4262, allocations: 105.8 kB / 460.7 MB, free: 2.984 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.4267, allocations: 243.5 kB / 460.9 MB, free: 2.676 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.427, allocations: 112.4 kB / 461 MB, free: 2.566 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.427, allocations: 4 kB / 461 MB, free: 2.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009222/0.4279, allocations: 350 kB / 461.4 MB, free: 2.211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006414/0.4286, allocations: 1.652 MB / 463 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.4286, allocations: 8 kB / 463 MB, free: 432 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002836/0.4289, allocations: 44.83 kB / 463.1 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/0.4295, allocations: 79.84 kB / 463.1 MB, free: 304 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.4311, allocations: 1.346 MB / 464.5 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005393/0.4317, allocations: 58.03 kB / 464.5 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.677e-05/0.4318, allocations: 24.05 kB / 464.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.4318, allocations: 4 kB / 464.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000802/0.4326, allocations: 288.5 kB / 464.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.4326, allocations: 4 kB / 464.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/0.4328, allocations: 52.77 kB / 464.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/0.4333, allocations: 72.38 kB / 465 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.4348, allocations: 1.354 MB / 466.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/0.4353, allocations: 51.78 kB / 466.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.4354, allocations: 20.06 kB / 466.4 MB, free: 12.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001859/0.4356, allocations: 48.2 kB / 466.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.4357, allocations: 39.53 kB / 466.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.4359, allocations: 35.88 kB / 466.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.4359, allocations: 4 kB / 466.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4359, allocations: 4 kB / 466.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.4359, allocations: 3.984 kB / 466.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.4377, allocations: 0.7573 MB / 467.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4377, allocations: 0 / 467.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/0.4381, allocations: 47.91 kB / 467.3 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002255/0.4384, allocations: 44.81 kB / 467.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.4384, allocations: 7.984 kB / 467.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.44, allocations: 1.323 MB / 468.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.44, allocations: 0 / 468.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001193/0.4412, allocations: 0.5077 MB / 469.2 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.4415, allocations: 141.3 kB / 469.4 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/0.4416, allocations: 3.906 kB / 469.4 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005944/0.4422, allocations: 43.95 kB / 469.4 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.4424, allocations: 27.97 kB / 469.4 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/0.4424, allocations: 11.98 kB / 469.4 MB, free: 9.547 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003397/0.4428, allocations: 195.1 kB / 469.6 MB, free: 9.359 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001008/0.4438, allocations: 171.4 kB / 469.8 MB, free: 9.191 MB / 362.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: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 22 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002544/0.4441, allocations: 124.1 kB / 469.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.4457, allocations: 0.6382 MB / 470.6 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.4458, allocations: 4 kB / 470.6 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004992/0.4463, allocations: 229.6 kB / 470.8 MB, free: 8.168 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.4469, allocations: 47.64 kB / 470.8 MB, free: 8.125 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.4491, allocations: 0.6079 MB / 471.4 MB, free: 7.496 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006887/0.4498, allocations: 0.8793 MB / 472.3 MB, free: 6.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4499, allocations: 0 / 472.3 MB, free: 6.59 MB / 362.7 MB Notification: Performance of Templates: time 0.01407/0.4639, allocations: 6.696 MB / 479 MB, free: 15.92 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/Rectifier1Pulse/Thyristor1Pulse_R_Characteristic/Thyristor1Pulse_R_Characteristic.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches