Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 111 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001108, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.89 kB / 359.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2195, allocations: 50.54 MB / 410 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic): time 0.005774/0.2253, allocations: 4.88 MB / 414.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.2278, allocations: 1.438 MB / 416.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002967/0.2281, allocations: 23.94 kB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.2284, allocations: 130.7 kB / 416.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004714/0.2289, allocations: 202.2 kB / 416.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.2295, allocations: 319.2 kB / 417 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008478/0.2303, allocations: 0.9358 MB / 417.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000589/0.2309, allocations: 470 kB / 418.4 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000444/0.2314, allocations: 358.6 kB / 418.7 MB, free: 8.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/0.2318, allocations: 370.3 kB / 419.1 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.2319, allocations: 88 kB / 419.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.232, allocations: 99.94 kB / 419.3 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.2322, allocations: 195.4 kB / 419.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003413/0.2326, allocations: 413.9 kB / 419.9 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.2337, allocations: 1.017 MB / 420.9 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2337, allocations: 4 kB / 420.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2337, allocations: 0 / 420.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.2337, allocations: 0 / 420.9 MB, free: 6.605 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001887/0.2356, allocations: 1.081 MB / 422 MB, free: 5.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2357, allocations: 8.031 kB / 422 MB, free: 5.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003134/0.236, allocations: 107.9 kB / 422.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006712/0.2367, allocations: 0.5221 MB / 422.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/0.2367, allocations: 53.69 kB / 422.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.652e-05/0.2368, allocations: 64.38 kB / 422.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.238, allocations: 0.721 MB / 423.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.238, allocations: 0 / 423.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.221e-05/0.2381, allocations: 24 kB / 423.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.2381, allocations: 16 kB / 423.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.2392, allocations: 0.536 MB / 424 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003254/0.2425, allocations: 2.364 MB / 426.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.2437, allocations: 0.5663 MB / 426.9 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006575/0.2444, allocations: 317.5 kB / 427.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.2444, allocations: 8.375 kB / 427.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000658/0.2451, allocations: 372.5 kB / 427.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.625e-06/0.2451, allocations: 0 / 427.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.0021/0.2472, allocations: 0.8789 MB / 428.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.2473, allocations: 166.6 kB / 428.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/0.2478, allocations: 486 kB / 429.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/0.2479, allocations: 45.7 kB / 429.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.2481, allocations: 332.2 kB / 429.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.2483, allocations: 153.8 kB / 429.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.2485, allocations: 114.3 kB / 429.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.2486, allocations: 374.7 kB / 430.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/0.2491, allocations: 211.4 kB / 430.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/0.2497, allocations: 374.5 kB / 430.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009164/0.2506, allocations: 0.5309 MB / 431.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2506, allocations: 0 / 431.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001249/0.2519, allocations: 0.6598 MB / 431.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2519, allocations: 4 kB / 431.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.2519, allocations: 8 kB / 431.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003087/0.2523, allocations: 89.36 kB / 432 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/0.2527, allocations: 99.81 kB / 432.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.2546, allocations: 1.936 MB / 434 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/0.2551, allocations: 79.56 kB / 434.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.2552, allocations: 27.98 kB / 434.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005913/0.2558, allocations: 349.3 kB / 434.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004922/0.2563, allocations: 362.6 kB / 434.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00083/0.2571, allocations: 0.5075 MB / 435.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.504e-06/0.2571, allocations: 0 / 435.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001168/0.2583, allocations: 0.6403 MB / 436 MB, free: 6.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.2583, allocations: 4 kB / 436 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2583, allocations: 4 kB / 436 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/0.2586, allocations: 89.31 kB / 436.1 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.2589, allocations: 95.89 kB / 436.2 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.2606, allocations: 1.925 MB / 438.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/0.2611, allocations: 75.61 kB / 438.2 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.2611, allocations: 28 kB / 438.2 MB, free: 4.348 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 25 (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,pulse2.fire_n,pulse2.fire_p,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,rectifier.thyristor_n.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_p.off,rectifier.andCondition_n.y,rectifier.andCondition_p.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002157/0.2614, allocations: 244 kB / 438.4 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/0.2615, allocations: 59.33 kB / 438.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.2616, allocations: 65.59 kB / 438.5 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2616, allocations: 3.984 kB / 438.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2616, allocations: 0 / 438.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.2619, allocations: 176.3 kB / 438.7 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.678e-05/0.2619, allocations: 20 kB / 438.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.2623, allocations: 39.95 kB / 438.8 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.2624, allocations: 48.25 kB / 438.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001523/0.2639, allocations: 0.7417 MB / 439.6 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001527/0.2655, allocations: 1.036 MB / 440.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004516/0.2659, allocations: 251.4 kB / 440.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003587/0.2663, allocations: 326.9 kB / 441.2 MB, free: 1.316 MB / 350.1 MB Notification: Performance of Backend: time 5.01e-07/0.2663, allocations: 3.938 kB / 441.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.2683, allocations: 0.9979 MB / 442.2 MB, free: 284 kB / 350.1 MB Notification: Performance of SimCode: time 0.001991/0.2703, allocations: 1.655 MB / 443.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Templates: time 0.01706/0.2874, allocations: 10.63 MB / 454.5 MB, free: 4.078 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RLV_Characteristic/ThyristorCenterTap2Pulse_RLV_Characteristic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches