Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_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.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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 107.5 kB / 18.4 MB, free: 4.652 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.001436/0.001436, allocations: 183 kB / 19.34 MB, free: 3.727 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.279/1.279, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001229/0.001229, allocations: 51.92 kB / 329.3 MB, free: 3.234 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07042/0.07166, allocations: 46.62 MB / 375.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic): time 0.1563/0.228, allocations: 5.017 MB / 380.9 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.2306, allocations: 1.503 MB / 382.4 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006233/0.2313, allocations: 17.69 kB / 382.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003911/0.2317, allocations: 146.2 kB / 382.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005909/0.2323, allocations: 218.3 kB / 382.8 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006429/0.233, allocations: 318.1 kB / 383.1 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008429/0.2338, allocations: 1.006 MB / 384.1 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006615/0.2345, allocations: 485.4 kB / 384.6 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003654/0.2349, allocations: 373.3 kB / 384.9 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004053/0.2353, allocations: 412.9 kB / 385.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.2354, allocations: 97.94 kB / 385.4 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.2356, allocations: 95.12 kB / 385.5 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.2357, allocations: 204.5 kB / 385.7 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003324/0.2361, allocations: 438.9 kB / 386.2 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009931/0.2371, allocations: 1.082 MB / 387.2 MB, free: 7.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.2371, allocations: 1.078 kB / 387.2 MB, free: 7.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2371, allocations: 0 / 387.2 MB, free: 7.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.2371, allocations: 1.781 kB / 387.2 MB, free: 7.742 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00173/0.2388, allocations: 1.14 MB / 388.4 MB, free: 6.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2389, allocations: 11.72 kB / 388.4 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.239, allocations: 94.75 kB / 388.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006613/0.2397, allocations: 0.5171 MB / 389 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.2398, allocations: 56.52 kB / 389.1 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.933e-05/0.2399, allocations: 76.06 kB / 389.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.2411, allocations: 0.7602 MB / 389.9 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.2412, allocations: 3.812 kB / 389.9 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.685e-05/0.2412, allocations: 31.97 kB / 389.9 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.2412, allocations: 16.09 kB / 389.9 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.2424, allocations: 0.5587 MB / 390.5 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003201/0.2456, allocations: 2.612 MB / 393.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.2467, allocations: 0.6252 MB / 393.7 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.2478, allocations: 0.5149 MB / 394.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.2479, allocations: 7.188 kB / 394.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006631/0.2486, allocations: 392.4 kB / 394.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=61): time 2.044e-06/0.2486, allocations: 0 / 394.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.002684/0.2513, allocations: 1.178 MB / 395.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.2513, allocations: 124.7 kB / 395.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/0.2518, allocations: 468.5 kB / 396.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/0.2519, allocations: 45.73 kB / 396.4 MB, free: 2.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.252, allocations: 337.2 kB / 396.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.2522, allocations: 196 kB / 397 MB, free: 2.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.2524, allocations: 128 kB / 397.1 MB, free: 2.191 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.2524, allocations: 371.3 kB / 397.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.2529, allocations: 228.8 kB / 397.7 MB, free: 1.762 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/0.2534, allocations: 385.4 kB / 398.1 MB, free: 1.496 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008229/0.2543, allocations: 0.5581 MB / 398.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2543, allocations: 0.5625 kB / 398.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001288/0.2556, allocations: 0.7594 MB / 399.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2556, allocations: 12.91 kB / 399.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2556, allocations: 4.594 kB / 399.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004643/0.2561, allocations: 166.4 kB / 399.6 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.2565, allocations: 103.4 kB / 399.7 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/0.26, allocations: 3.994 MB / 403.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.2605, allocations: 75.98 kB / 403.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.2606, allocations: 24.98 kB / 403.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006432/0.2612, allocations: 383.8 kB / 404.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005495/0.2618, allocations: 385.1 kB / 404.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008757/0.2626, allocations: 0.5388 MB / 405 MB, free: 12.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.447e-06/0.2627, allocations: 1.469 kB / 405 MB, free: 12.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001314/0.264, allocations: 0.7505 MB / 405.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.264, allocations: 8 kB / 405.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.264, allocations: 8.562 kB / 405.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004061/0.2644, allocations: 159.3 kB / 406 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.2648, allocations: 97.52 kB / 406.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003613/0.2684, allocations: 3.999 MB / 410.1 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.2689, allocations: 65.64 kB / 410.1 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.443e-05/0.269, allocations: 26.78 kB / 410.1 MB, free: 8.152 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: 29 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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 (68): * Single equations (assignments): 66 * 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.0002376/0.2692, allocations: 247.5 kB / 410.4 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.2693, allocations: 68.58 kB / 410.5 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.2695, allocations: 74.92 kB / 410.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2695, allocations: 4 kB / 410.5 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2695, allocations: 1.125 kB / 410.5 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.2697, allocations: 187.5 kB / 410.7 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.394e-05/0.2698, allocations: 16.03 kB / 410.7 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003278/0.2702, allocations: 36.55 kB / 410.8 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.2703, allocations: 49.47 kB / 410.8 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001928/0.2722, allocations: 0.7872 MB / 411.6 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001677/0.2739, allocations: 1.008 MB / 412.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004673/0.2744, allocations: 255.8 kB / 412.9 MB, free: 6.387 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003818/0.2748, allocations: 324.5 kB / 413.2 MB, free: 6.191 MB / 334.1 MB Notification: Performance of Backend: time 3.276e-06/0.2748, allocations: 0 / 413.2 MB, free: 6.191 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002437/0.2773, allocations: 1.389 MB / 414.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of SimCode: time 0.002286/0.2796, allocations: 1.815 MB / 416.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of Templates: time 0.02099/0.3006, allocations: 12.87 MB / 429.3 MB, free: 8.41 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_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/RectifierBridge2Pulse/ThyristorBridge2Pulse_RLV_Characteristic/ThyristorBridge2Pulse_RLV_Characteristic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches