Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001726/0.001726, allocations: 176.1 kB / 8.478 MB, free: 1.891 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.227/1.227, allocations: 205.2 MB / 214.1 MB, free: 5.07 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008394/0.0008394, allocations: 95.23 kB / 262.1 MB, free: 5.105 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.402e-06/6.422e-06, allocations: 4 kB / 315 MB, free: 41.45 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06885/0.06887, allocations: 47.57 MB / 362.6 MB, free: 9.918 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2278/0.2967, allocations: 83.88 MB / 446.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.2969, allocations: 86.34 kB / 446.5 MB, free: 10.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02274/0.3197, allocations: 9.41 MB / 455.9 MB, free: 7.172 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.291e-05/0.3198, allocations: 7.531 kB / 455.9 MB, free: 7.172 MB / 314.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.001413/0.3212, allocations: 0.7177 MB / 456.7 MB, free: 6.613 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.3212, allocations: 7.625 kB / 456.7 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.3214, allocations: 53.25 kB / 456.7 MB, free: 6.586 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007428/0.3222, allocations: 369 kB / 457.1 MB, free: 6.312 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.53e-05/0.3223, allocations: 20.12 kB / 457.1 MB, free: 6.309 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-05/0.3223, allocations: 24.84 kB / 457.1 MB, free: 6.309 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006203/0.323, allocations: 279.8 kB / 457.4 MB, free: 6.285 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006679/0.3237, allocations: 394.6 kB / 457.8 MB, free: 6.156 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.3237, allocations: 0 / 457.8 MB, free: 6.156 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.3237, allocations: 1.312 kB / 457.8 MB, free: 6.156 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.3238, allocations: 13.03 kB / 457.8 MB, free: 6.152 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.3262, allocations: 1.501 MB / 459.3 MB, free: 5.254 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006959/0.3269, allocations: 324 kB / 459.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.3271, allocations: 100.6 kB / 459.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.3271, allocations: 6.062 kB / 459.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003048/0.3275, allocations: 204.4 kB / 459.9 MB, free: 5.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.3275, allocations: 1.094 kB / 459.9 MB, free: 5.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.0006304/0.3281, allocations: 281.5 kB / 460.2 MB, free: 4.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.3282, allocations: 108.8 kB / 460.3 MB, free: 4.855 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.3284, allocations: 263.6 kB / 460.6 MB, free: 4.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.3285, allocations: 32.8 kB / 460.6 MB, free: 4.699 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.3286, allocations: 200.7 kB / 460.8 MB, free: 4.531 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.919e-05/0.3287, allocations: 94.28 kB / 460.9 MB, free: 4.465 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/0.3287, allocations: 5.031 kB / 460.9 MB, free: 4.461 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.3288, allocations: 348 kB / 461.2 MB, free: 4.137 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.329, allocations: 97.98 kB / 461.3 MB, free: 4.133 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.3292, allocations: 245.8 kB / 461.6 MB, free: 3.938 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.3294, allocations: 122.2 kB / 461.7 MB, free: 3.906 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3294, allocations: 1.219 kB / 461.7 MB, free: 3.906 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005723/0.33, allocations: 373.7 kB / 462 MB, free: 3.789 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002838/0.3303, allocations: 1.658 MB / 463.7 MB, free: 2.047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.3303, allocations: 4.094 kB / 463.7 MB, free: 2.047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/0.3305, allocations: 46.83 kB / 463.7 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.3309, allocations: 76.94 kB / 463.8 MB, free: 2.016 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.3319, allocations: 1.34 MB / 465.2 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/0.3323, allocations: 67.64 kB / 465.2 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/0.3324, allocations: 21.78 kB / 465.3 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.3324, allocations: 3.812 kB / 465.3 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005512/0.3329, allocations: 296.4 kB / 465.5 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.333, allocations: 4.438 kB / 465.5 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/0.3331, allocations: 48.75 kB / 465.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.3333, allocations: 71.44 kB / 465.7 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009848/0.3343, allocations: 1.339 MB / 467 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.3347, allocations: 61.81 kB / 467.1 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.3347, allocations: 13.75 kB / 467.1 MB, free: 15.36 MB / 330.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.0001627/0.3349, allocations: 138.9 kB / 467.2 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/0.335, allocations: 31.56 kB / 467.2 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.3351, allocations: 45.28 kB / 467.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3351, allocations: 4.125 kB / 467.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3351, allocations: 0 / 467.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.3351, allocations: 3.984 kB / 467.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.3362, allocations: 0.7573 MB / 468.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3363, allocations: 0 / 468.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.3365, allocations: 40.25 kB / 468.1 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001311/0.3366, allocations: 41.33 kB / 468.1 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.3367, allocations: 5.625 kB / 468.1 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.3377, allocations: 1.336 MB / 469.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3377, allocations: 1.156 kB / 469.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006869/0.3384, allocations: 0.4956 MB / 470 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.3386, allocations: 135.6 kB / 470.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/0.3386, allocations: 8.922 kB / 470.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.339, allocations: 40.91 kB / 470.2 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.3391, allocations: 29.23 kB / 470.2 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.3391, allocations: 13.5 kB / 470.2 MB, free: 13.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001923/0.3393, allocations: 198.3 kB / 470.4 MB, free: 13.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007472/0.34, allocations: 172.4 kB / 470.6 MB, free: 13.02 MB / 330.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.0001777/0.3402, allocations: 129.6 kB / 470.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009892/0.3412, allocations: 0.6497 MB / 471.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.3412, allocations: 4.5 kB / 471.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.3416, allocations: 234 kB / 471.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.3419, allocations: 45.72 kB / 471.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.3434, allocations: 0.5872 MB / 472.2 MB, free: 12.26 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005263/0.3439, allocations: 0.8775 MB / 473.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.3439, allocations: 3.938 kB / 473.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of Templates: time 0.01227/0.3562, allocations: 5.985 MB / 479.1 MB, free: 8.324 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat","/var/lib/jenkins/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_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches