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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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") [: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.001684/0.001683, allocations: 176 kB / 8.147 MB, free: 2.188 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.761/1.761, allocations: 205.2 MB / 213.7 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.001233/0.001232, allocations: 86.47 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.985e-06/8.126e-06, allocations: 0 / 314.3 MB, free: 9.008 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2327, allocations: 47.55 MB / 361.9 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.3609, allocations: 83.69 MB / 445.5 MB, free: 2.355 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.3613, allocations: 89.98 kB / 445.6 MB, free: 2.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0387/0.4, allocations: 9.299 MB / 454.9 MB, free: 9.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.433e-05/0.4001, allocations: 8 kB / 454.9 MB, free: 9.008 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001683/0.4018, allocations: 0.6719 MB / 455.6 MB, free: 8.289 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4018, allocations: 8.031 kB / 455.6 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.402, allocations: 55.34 kB / 455.7 MB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007975/0.4028, allocations: 371.6 kB / 456 MB, free: 7.824 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.4029, allocations: 16 kB / 456 MB, free: 7.809 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.724e-05/0.403, allocations: 32 kB / 456.1 MB, free: 7.777 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008476/0.4038, allocations: 273.5 kB / 456.3 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009938/0.4048, allocations: 378.2 kB / 456.7 MB, free: 7.125 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.4049, allocations: 3.906 kB / 456.7 MB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.049e-05/0.405, allocations: 4 kB / 456.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.405, allocations: 11.94 kB / 456.7 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003747/0.4087, allocations: 1.466 MB / 458.2 MB, free: 5.559 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005239/0.4093, allocations: 215.8 kB / 458.4 MB, free: 5.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.4096, allocations: 84.84 kB / 458.5 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.4096, allocations: 0 / 458.5 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004422/0.4101, allocations: 189.8 kB / 458.7 MB, free: 5.051 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.144e-06/0.4101, allocations: 0 / 458.7 MB, free: 5.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008854/0.411, allocations: 257.9 kB / 458.9 MB, free: 4.789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.433e-05/0.4111, allocations: 122.8 kB / 459.1 MB, free: 4.645 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.4116, allocations: 271.4 kB / 459.3 MB, free: 4.375 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/0.4117, allocations: 37.69 kB / 459.4 MB, free: 4.332 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.4119, allocations: 254.5 kB / 459.6 MB, free: 4.078 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.84e-05/0.412, allocations: 82.81 kB / 459.7 MB, free: 3.996 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.412, allocations: 4 kB / 459.7 MB, free: 3.992 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4121, allocations: 326.8 kB / 460 MB, free: 3.664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.4124, allocations: 96.84 kB / 460.1 MB, free: 3.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004116/0.4129, allocations: 243.8 kB / 460.3 MB, free: 3.258 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.4132, allocations: 117.1 kB / 460.5 MB, free: 3.145 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.4132, allocations: 0 / 460.5 MB, free: 3.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009308/0.4142, allocations: 344.5 kB / 460.8 MB, free: 2.801 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006121/0.4148, allocations: 1.652 MB / 462.4 MB, free: 1.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.4148, allocations: 4 kB / 462.4 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002865/0.4151, allocations: 40.84 kB / 462.5 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.4156, allocations: 79.83 kB / 462.6 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.4173, allocations: 1.334 MB / 463.9 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/0.4179, allocations: 55.78 kB / 464 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-05/0.418, allocations: 16 kB / 464 MB, free: 15.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.418, allocations: 4.562 kB / 464 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008175/0.4188, allocations: 292.6 kB / 464.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4188, allocations: 4 kB / 464.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/0.4191, allocations: 48.86 kB / 464.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.4195, allocations: 59.86 kB / 464.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.421, allocations: 1.35 MB / 465.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.4215, allocations: 54.78 kB / 465.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.4215, allocations: 20.06 kB / 465.8 MB, free: 13.43 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 (46): * Single equations (assignments): 45 * 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.0001711/0.4217, allocations: 52.2 kB / 465.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.4218, allocations: 35.53 kB / 465.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.422, allocations: 31.88 kB / 465.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.422, allocations: 4 kB / 465.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.422, allocations: 3.984 kB / 465.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.422, allocations: 3.938 kB / 465.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.4236, allocations: 0.7298 MB / 466.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4237, allocations: 0 / 466.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.4239, allocations: 27.92 kB / 466.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002066/0.4241, allocations: 44.78 kB / 466.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.4242, allocations: 11.98 kB / 466.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.4257, allocations: 1.319 MB / 468.1 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4257, allocations: 4 kB / 468.1 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001049/0.4268, allocations: 488.3 kB / 468.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.427, allocations: 132.6 kB / 468.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.96e-05/0.4271, allocations: 7.906 kB / 468.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.4276, allocations: 36.03 kB / 468.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-05/0.4277, allocations: 23.95 kB / 468.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.4277, allocations: 8 kB / 468.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003431/0.4281, allocations: 207.1 kB / 468.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009603/0.429, allocations: 179.3 kB / 469.1 MB, free: 9.898 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 (25): * Single equations (assignments): 19 * 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.0002072/0.4293, allocations: 119.4 kB / 469.2 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.4306, allocations: 0.6134 MB / 469.8 MB, free: 9.141 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4306, allocations: 3.938 kB / 469.8 MB, free: 9.137 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004154/0.4311, allocations: 218.2 kB / 470.1 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.4316, allocations: 48.36 kB / 470.1 MB, free: 8.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.4337, allocations: 0.5704 MB / 470.7 MB, free: 8.277 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006622/0.4343, allocations: 0.8683 MB / 471.5 MB, free: 7.383 MB / 362.7 MB Notification: Performance of SimCode: time 1.442e-06/0.4344, allocations: 0 / 471.5 MB, free: 7.383 MB / 362.7 MB Notification: Performance of Templates: time 0.01311/0.4475, allocations: 6.536 MB / 478.1 MB, free: 0.8594 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_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/Rectifier1Pulse/Thyristor1Pulse_R/Thyristor1Pulse_R.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches