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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 109.3 kB / 18.36 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 187 kB / 19.3 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 47.92 kB / 282.1 MB, free: 2.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06988/0.07108, allocations: 46.62 MB / 328.7 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic): time 0.004772/0.07588, allocations: 3.62 MB / 332.4 MB, free: 132 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.07791, allocations: 1.173 MB / 333.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003431/0.07828, allocations: 19.88 kB / 333.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.07853, allocations: 79.22 kB / 333.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.07888, allocations: 119 kB / 333.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.07934, allocations: 223.6 kB / 334 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000505/0.07985, allocations: 0.5806 MB / 334.6 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003942/0.08026, allocations: 286.7 kB / 334.8 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.08049, allocations: 219.2 kB / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.08075, allocations: 234.9 kB / 335.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.636e-05/0.08084, allocations: 52 kB / 335.3 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.11e-05/0.08092, allocations: 56 kB / 335.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.08105, allocations: 131.5 kB / 335.5 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.08125, allocations: 246.8 kB / 335.8 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004908/0.08175, allocations: 0.6345 MB / 336.4 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.08176, allocations: 4 kB / 336.4 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.08177, allocations: 0 / 336.4 MB, free: 12.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.08178, allocations: 0 / 336.4 MB, free: 12.09 MB / 286.1 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.001301/0.08309, allocations: 0.8036 MB / 337.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.08313, allocations: 8.031 kB / 337.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.525e-05/0.08323, allocations: 56.28 kB / 337.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/0.08372, allocations: 384.2 kB / 337.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.08377, allocations: 33.38 kB / 337.7 MB, free: 10.72 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-05/0.08384, allocations: 52.36 kB / 337.7 MB, free: 10.67 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007854/0.08463, allocations: 475.2 kB / 338.2 MB, free: 10.19 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.08466, allocations: 0 / 338.2 MB, free: 10.19 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.08471, allocations: 16 kB / 338.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.08472, allocations: 15.94 kB / 338.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007044/0.08543, allocations: 339.8 kB / 338.5 MB, free: 9.828 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.08762, allocations: 1.563 MB / 340.1 MB, free: 8.164 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007794/0.08841, allocations: 327.4 kB / 340.4 MB, free: 7.836 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.08869, allocations: 129.2 kB / 340.6 MB, free: 7.707 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.08872, allocations: 240 / 340.6 MB, free: 7.707 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004623/0.08919, allocations: 261.1 kB / 340.8 MB, free: 7.434 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.08921, allocations: 0 / 340.8 MB, free: 7.434 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001296/0.09051, allocations: 0.5731 MB / 341.4 MB, free: 6.832 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.09058, allocations: 110.8 kB / 341.5 MB, free: 6.699 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.09088, allocations: 316.4 kB / 341.8 MB, free: 6.379 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.09093, allocations: 45.69 kB / 341.8 MB, free: 6.328 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.09108, allocations: 236.1 kB / 342.1 MB, free: 6.094 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.281e-05/0.09116, allocations: 98.67 kB / 342.2 MB, free: 5.996 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.09128, allocations: 86.03 kB / 342.3 MB, free: 5.906 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.0914, allocations: 346.8 kB / 342.6 MB, free: 5.559 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.0917, allocations: 134.5 kB / 342.7 MB, free: 5.426 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.09208, allocations: 286.2 kB / 343 MB, free: 5.078 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005981/0.09269, allocations: 376 kB / 343.4 MB, free: 4.652 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.0927, allocations: 0 / 343.4 MB, free: 4.652 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008152/0.09352, allocations: 469.9 kB / 343.8 MB, free: 4.184 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.09355, allocations: 12.03 kB / 343.8 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.09357, allocations: 4 kB / 343.8 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001859/0.09376, allocations: 48.83 kB / 343.9 MB, free: 4.117 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.09402, allocations: 63.91 kB / 344 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.09528, allocations: 1.685 MB / 345.6 MB, free: 2.223 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.09557, allocations: 51.66 kB / 345.7 MB, free: 2.172 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.09561, allocations: 19.98 kB / 345.7 MB, free: 2.152 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003718/0.09599, allocations: 264.9 kB / 346 MB, free: 1.891 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003322/0.09633, allocations: 262.3 kB / 346.2 MB, free: 1.574 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005407/0.09689, allocations: 371.9 kB / 346.6 MB, free: 1.152 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.0969, allocations: 0 / 346.6 MB, free: 1.152 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0007584/0.09766, allocations: 454.2 kB / 347 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.09768, allocations: 12.03 kB / 347 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.0977, allocations: 4 kB / 347 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001242/0.09782, allocations: 44.83 kB / 347.1 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.09808, allocations: 67.84 kB / 347.2 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.09942, allocations: 1.67 MB / 348.8 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.09971, allocations: 43.81 kB / 348.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.09975, allocations: 24.06 kB / 348.9 MB, free: 14.7 MB / 302.1 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 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,idealthyristor.off,$PRE.idealthyristor.off,pulse2.fire_p,pulse2.twoPulse.fire_n[1],pulse2.twoPulse.timerNegative[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.09991, allocations: 222.4 kB / 349.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.09997, allocations: 43.47 kB / 349.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.84e-05/0.1, allocations: 39.95 kB / 349.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1001, allocations: 3.984 kB / 349.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1001, allocations: 0 / 349.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.1002, allocations: 136.6 kB / 349.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.1003, allocations: 12 kB / 349.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.1005, allocations: 27.95 kB / 349.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.1006, allocations: 23.97 kB / 349.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009986/0.1016, allocations: 466.5 kB / 349.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001109/0.1027, allocations: 0.6705 MB / 350.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003167/0.103, allocations: 139.9 kB / 350.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002083/0.1033, allocations: 219.1 kB / 350.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of Backend: time 5.71e-07/0.1033, allocations: 0 / 350.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.1046, allocations: 0.7471 MB / 351.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of SimCode: time 0.001329/0.106, allocations: 1.22 MB / 352.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of Templates: time 0.01072/0.1167, allocations: 6.321 MB / 359.2 MB, free: 4.301 MB / 302.1 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/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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