Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001584/0.001584, allocations: 121.2 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001913/0.001913, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.89 kB / 359.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2145, allocations: 50.54 MB / 410 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic): time 0.006091/0.2207, allocations: 5.172 MB / 415.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.2234, allocations: 1.516 MB / 416.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005753/0.224, allocations: 23.88 kB / 416.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.2244, allocations: 150.6 kB / 416.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006868/0.2251, allocations: 226 kB / 417.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006894/0.2258, allocations: 339.5 kB / 417.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008982/0.2267, allocations: 1.049 MB / 418.5 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000609/0.2273, allocations: 0.4946 MB / 419 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004134/0.2278, allocations: 402.5 kB / 419.3 MB, free: 8.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004293/0.2282, allocations: 418 kB / 419.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.2283, allocations: 100 kB / 419.9 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.2285, allocations: 104 kB / 420 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.2287, allocations: 223.2 kB / 420.2 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003569/0.2291, allocations: 457.7 kB / 420.6 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.2301, allocations: 1.148 MB / 421.8 MB, free: 5.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2301, allocations: 0 / 421.8 MB, free: 5.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2301, allocations: 0 / 421.8 MB, free: 5.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.2301, allocations: 0 / 421.8 MB, free: 5.73 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001815/0.232, allocations: 1.174 MB / 422.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.232, allocations: 12.03 kB / 423 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002403/0.2322, allocations: 108.3 kB / 423.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006718/0.2329, allocations: 0.5388 MB / 423.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.233, allocations: 54.38 kB / 423.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.2331, allocations: 72.38 kB / 423.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.2344, allocations: 0.8186 MB / 424.5 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.2344, allocations: 0 / 424.5 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/0.2345, allocations: 32 kB / 424.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.2345, allocations: 16 kB / 424.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.2357, allocations: 0.605 MB / 425.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/0.2392, allocations: 2.717 MB / 427.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.2405, allocations: 0.6915 MB / 428.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.2416, allocations: 0.5216 MB / 429.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.795e-05/0.2416, allocations: 8.5 kB / 429.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006821/0.2423, allocations: 417.8 kB / 429.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 1.954e-06/0.2423, allocations: 0 / 429.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.002889/0.2452, allocations: 1.232 MB / 430.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.2453, allocations: 153 kB / 430.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005201/0.2458, allocations: 0.4902 MB / 431.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.754e-05/0.2459, allocations: 49.69 kB / 431.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.2461, allocations: 340.9 kB / 431.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.2463, allocations: 206.3 kB / 432 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.2465, allocations: 138.6 kB / 432.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2466, allocations: 366.8 kB / 432.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004919/0.2471, allocations: 244.7 kB / 432.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/0.2477, allocations: 417.3 kB / 433.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009687/0.2487, allocations: 0.5812 MB / 433.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2487, allocations: 3.938 kB / 433.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001436/0.2502, allocations: 0.8088 MB / 434.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2502, allocations: 8 kB / 434.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.2502, allocations: 4 kB / 434.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004959/0.2507, allocations: 161.6 kB / 434.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.2511, allocations: 103.8 kB / 434.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003731/0.2549, allocations: 3.993 MB / 438.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004312/0.2553, allocations: 79.59 kB / 438.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.2554, allocations: 32 kB / 438.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006401/0.256, allocations: 406.1 kB / 439.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005438/0.2566, allocations: 401.2 kB / 439.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008769/0.2575, allocations: 0.5617 MB / 440.2 MB, free: 2.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.395e-06/0.2575, allocations: 0 / 440.2 MB, free: 2.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.001335/0.2588, allocations: 0.7815 MB / 441 MB, free: 1.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.2588, allocations: 8 kB / 441 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2588, allocations: 4 kB / 441 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004124/0.2593, allocations: 165.6 kB / 441.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.2596, allocations: 103.8 kB / 441.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003442/0.2631, allocations: 3.991 MB / 445.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.2635, allocations: 79.66 kB / 445.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.2636, allocations: 24 kB / 445.4 MB, free: 12.86 MB / 366.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: 29 (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_n2.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p1.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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001968/0.2638, allocations: 248.1 kB / 445.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.2639, allocations: 63.62 kB / 445.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.264, allocations: 73.77 kB / 445.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.264, allocations: 0 / 445.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.264, allocations: 7.984 kB / 445.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/0.2643, allocations: 204.5 kB / 446 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-05/0.2644, allocations: 12 kB / 446 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.2647, allocations: 43.89 kB / 446 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.2648, allocations: 52.44 kB / 446.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001849/0.2667, allocations: 0.8204 MB / 446.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001613/0.2683, allocations: 1.072 MB / 448 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004641/0.2688, allocations: 264.3 kB / 448.2 MB, free: 9.965 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003418/0.2692, allocations: 338.9 kB / 448.6 MB, free: 9.637 MB / 366.1 MB Notification: Performance of Backend: time 3.61e-07/0.2692, allocations: 0 / 448.6 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00224/0.2714, allocations: 1.433 MB / 450 MB, free: 8.141 MB / 366.1 MB Notification: Performance of SimCode: time 0.002033/0.2735, allocations: 1.869 MB / 451.9 MB, free: 6.223 MB / 366.1 MB Notification: Performance of Templates: time 0.0196/0.2931, allocations: 13.51 MB / 465.4 MB, free: 8.887 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RLV_Characteristic/ThyristorBridge2Pulse_RLV_Characteristic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches