Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.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.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_trunk_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_trunk_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 trunk/package.mo): time 0.001557/0.001557, allocations: 190.8 kB / 8.533 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.264/1.264, allocations: 225.5 MB / 234.4 MB, free: 3.434 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008558/0.0008558, allocations: 93.11 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.247e-06/9.257e-06, allocations: 4 kB / 343.2 MB, free: 8.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 51.47 MB / 394.6 MB, free: 5.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2567/0.3664, allocations: 85.87 MB / 480.5 MB, free: 7.391 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.3667, allocations: 83.39 kB / 480.6 MB, free: 7.344 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02549/0.3922, allocations: 10.17 MB / 490.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.426e-05/0.3923, allocations: 12 kB / 490.8 MB, free: 14.98 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001446/0.3937, allocations: 0.7086 MB / 491.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3938, allocations: 8.031 kB / 491.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.394, allocations: 75.23 kB / 491.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005752/0.3946, allocations: 378 kB / 491.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.3947, allocations: 19.98 kB / 491.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.544e-05/0.3947, allocations: 35.84 kB / 492 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005204/0.3953, allocations: 302.5 kB / 492.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006382/0.3959, allocations: 412.3 kB / 492.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.3959, allocations: 0 / 492.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/0.396, allocations: 3.5 kB / 492.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.396, allocations: 16 kB / 492.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.3984, allocations: 1.544 MB / 494.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.3988, allocations: 267.2 kB / 494.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.399, allocations: 99.25 kB / 494.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.399, allocations: 7.938 kB / 494.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/0.3993, allocations: 199.4 kB / 494.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.503e-06/0.3993, allocations: 0 / 494.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005544/0.3999, allocations: 277.2 kB / 495.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.4, allocations: 150.1 kB / 495.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.4003, allocations: 289.5 kB / 495.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.4003, allocations: 33.58 kB / 495.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.4005, allocations: 224 kB / 495.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.951e-05/0.4005, allocations: 89.62 kB / 495.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.4006, allocations: 0 / 495.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4007, allocations: 344.7 kB / 496.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.4009, allocations: 107.6 kB / 496.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.4012, allocations: 258.8 kB / 496.5 MB, free: 9.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.4014, allocations: 130.9 kB / 496.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4014, allocations: 0 / 496.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005601/0.4019, allocations: 395.5 kB / 497 MB, free: 9.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005724/0.4025, allocations: 1.659 MB / 498.7 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4025, allocations: 4 kB / 498.7 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/0.4027, allocations: 39.84 kB / 498.7 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.403, allocations: 75.45 kB / 498.8 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.4042, allocations: 1.346 MB / 0.4884 GB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.4046, allocations: 71.72 kB / 0.4885 GB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.4046, allocations: 19.25 kB / 0.4885 GB, free: 6.168 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.4046, allocations: 4 kB / 0.4885 GB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004683/0.4051, allocations: 319.5 kB / 0.4888 GB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.4051, allocations: 4.188 kB / 0.4888 GB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001202/0.4052, allocations: 45.45 kB / 0.4889 GB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.4055, allocations: 66.91 kB / 0.4889 GB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009507/0.4064, allocations: 1.353 MB / 0.4903 GB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.4068, allocations: 51.88 kB / 0.4903 GB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.4068, allocations: 16 kB / 0.4903 GB, free: 4.371 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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (48): * Single equations (assignments): 47 * 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.0001689/0.407, allocations: 140.7 kB / 0.4905 GB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/0.407, allocations: 39.53 kB / 0.4905 GB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.606e-05/0.4071, allocations: 38.19 kB / 0.4905 GB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4071, allocations: 4 kB / 0.4905 GB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4071, allocations: 0 / 0.4905 GB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4072, allocations: 0 / 0.4905 GB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.4082, allocations: 0.7819 MB / 0.4913 GB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4082, allocations: 0 / 0.4913 GB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.4084, allocations: 27.92 kB / 0.4913 GB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/0.4085, allocations: 43.42 kB / 0.4914 GB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.4086, allocations: 4 kB / 0.4914 GB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009213/0.4095, allocations: 1.33 MB / 0.4927 GB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.4095, allocations: 15.91 kB / 0.4927 GB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006251/0.4101, allocations: 0.5022 MB / 0.4932 GB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.4103, allocations: 146.5 kB / 0.4933 GB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/0.4104, allocations: 0 / 0.4933 GB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.4107, allocations: 38.91 kB / 0.4934 GB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.4107, allocations: 23.16 kB / 0.4934 GB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.4108, allocations: 11.55 kB / 0.4934 GB, free: 1.441 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002196/0.411, allocations: 221 kB / 0.4936 GB, free: 1.273 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006875/0.4117, allocations: 190.3 kB / 0.4938 GB, free: 1.09 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (27): * Single equations (assignments): 21 * 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.000162/0.4118, allocations: 123.8 kB / 0.4939 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008556/0.4127, allocations: 0.6661 MB / 0.4946 GB, free: 428 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4127, allocations: 0 / 0.4946 GB, free: 428 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.413, allocations: 227 kB / 0.4948 GB, free: 228 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.4134, allocations: 53.77 kB / 0.4948 GB, free: 192 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.4147, allocations: 0.6007 MB / 0.4954 GB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004746/0.4152, allocations: 0.8938 MB / 0.4963 GB, free: 14.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4152, allocations: 0 / 0.4963 GB, free: 14.73 MB / 378.7 MB Notification: Performance of Templates: time 0.01077/0.426, allocations: 6.15 MB / 0.5023 GB, free: 8.691 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/Rectifier1Pulse/Thyristor1Pulse_R/Thyristor1Pulse_R.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches