Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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,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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 108.7 kB / 17.74 MB, free: 5.336 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.001818/0.001818, allocations: 190.9 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 43.94 kB / 352 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2223, allocations: 49.44 MB / 401.5 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R): time 0.004974/0.2273, allocations: 3.696 MB / 405.2 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.2295, allocations: 1.142 MB / 406.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003326/0.2299, allocations: 11.94 kB / 406.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.2301, allocations: 83.16 kB / 406.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.2305, allocations: 123 kB / 406.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.231, allocations: 231.6 kB / 406.7 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005573/0.2315, allocations: 0.608 MB / 407.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004094/0.232, allocations: 299.4 kB / 407.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.2322, allocations: 235.1 kB / 407.9 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.2325, allocations: 238.9 kB / 408.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.238e-05/0.2326, allocations: 60 kB / 408.2 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.2327, allocations: 60 kB / 408.2 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.2328, allocations: 131.5 kB / 408.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.2331, allocations: 262.7 kB / 408.6 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000561/0.2336, allocations: 0.6667 MB / 409.3 MB, free: 1.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2337, allocations: 0 / 409.3 MB, free: 1.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.2337, allocations: 4 kB / 409.3 MB, free: 1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2337, allocations: 0 / 409.3 MB, free: 1 MB / 318.1 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.001359/0.235, allocations: 0.8081 MB / 410.1 MB, free: 148 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2351, allocations: 8.031 kB / 410.1 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.2352, allocations: 64.27 kB / 410.2 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/0.2357, allocations: 384.2 kB / 410.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.2357, allocations: 37.36 kB / 410.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.107e-05/0.2358, allocations: 52.31 kB / 410.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008079/0.2366, allocations: 492.1 kB / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.2367, allocations: 3.906 kB / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.2367, allocations: 23.98 kB / 411.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2367, allocations: 12 kB / 411.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006661/0.2374, allocations: 355.7 kB / 411.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.2399, allocations: 1.63 MB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/0.2405, allocations: 316.3 kB / 413.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.2407, allocations: 129.2 kB / 413.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.2408, allocations: 4.234 kB / 413.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004448/0.2412, allocations: 264.4 kB / 413.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.794e-06/0.2412, allocations: 0 / 413.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.001271/0.2425, allocations: 0.5743 MB / 414.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.2426, allocations: 144.5 kB / 414.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.243, allocations: 332.5 kB / 414.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.243, allocations: 37.7 kB / 414.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.2432, allocations: 244 kB / 415.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.005e-05/0.2433, allocations: 102.6 kB / 415.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.2434, allocations: 90.11 kB / 415.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2435, allocations: 346.8 kB / 415.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.2438, allocations: 134.5 kB / 415.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.2442, allocations: 295.1 kB / 416.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005667/0.2447, allocations: 388 kB / 416.5 MB, free: 9.359 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2448, allocations: 0 / 416.5 MB, free: 9.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008019/0.2456, allocations: 469.5 kB / 416.9 MB, free: 8.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2456, allocations: 4 kB / 416.9 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2456, allocations: 4 kB / 416.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.2458, allocations: 53.3 kB / 417 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.2461, allocations: 71.91 kB / 417 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.2474, allocations: 1.678 MB / 418.7 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.2477, allocations: 55.58 kB / 418.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.2478, allocations: 19.98 kB / 418.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003405/0.2481, allocations: 256.9 kB / 419 MB, free: 6.605 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003053/0.2484, allocations: 275.2 kB / 419.3 MB, free: 6.273 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004667/0.2489, allocations: 368.2 kB / 419.7 MB, free: 5.855 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.56e-06/0.2489, allocations: 3.938 kB / 419.7 MB, free: 5.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0006917/0.2496, allocations: 441.9 kB / 420.1 MB, free: 5.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.2496, allocations: 8 kB / 420.1 MB, free: 5.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2497, allocations: 4 kB / 420.1 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001341/0.2498, allocations: 48.83 kB / 420.2 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.25, allocations: 67.84 kB / 420.2 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.2513, allocations: 1.666 MB / 421.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/0.2516, allocations: 55.78 kB / 422 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.2517, allocations: 20 kB / 422 MB, free: 3.406 MB / 334.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_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,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 (48): * Single equations (assignments): 47 * 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.0001523/0.2518, allocations: 222.8 kB / 422.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.2519, allocations: 39.55 kB / 422.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.139e-05/0.252, allocations: 40.06 kB / 422.3 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.252, allocations: 0 / 422.3 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.252, allocations: 4 kB / 422.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.2522, allocations: 148.5 kB / 422.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.812e-05/0.2522, allocations: 8 kB / 422.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.2525, allocations: 27.97 kB / 422.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.2526, allocations: 23.97 kB / 422.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009329/0.2535, allocations: 466.5 kB / 422.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009422/0.2545, allocations: 0.6824 MB / 423.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000258/0.2547, allocations: 151.9 kB / 423.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002162/0.255, allocations: 227.1 kB / 424 MB, free: 1.344 MB / 334.1 MB Notification: Performance of Backend: time 2.1e-07/0.255, allocations: 0 / 424 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.2562, allocations: 0.7471 MB / 424.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of SimCode: time 0.001384/0.2576, allocations: 1.263 MB / 426 MB, free: 15.25 MB / 350.1 MB Notification: Performance of Templates: time 0.01184/0.2695, allocations: 6.549 MB / 432.5 MB, free: 8.773 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/Rectifier1Pulse/Thyristor1Pulse_R/Thyristor1Pulse_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches