Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001316/0.001316, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001373/0.001373, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000985/0.000985, allocations: 43.94 kB / 352 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2118, allocations: 49.44 MB / 401.5 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic): time 0.006578/0.2184, allocations: 5.147 MB / 406.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.2207, allocations: 1.466 MB / 408.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003064/0.221, allocations: 19.94 kB / 408.1 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.2214, allocations: 146.6 kB / 408.3 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005386/0.2219, allocations: 234.1 kB / 408.5 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005698/0.2225, allocations: 337.4 kB / 408.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008773/0.2234, allocations: 1.037 MB / 409.8 MB, free: 460 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006292/0.224, allocations: 498.5 kB / 410.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003763/0.2244, allocations: 382.6 kB / 410.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00043/0.2249, allocations: 422 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.225, allocations: 100 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.2251, allocations: 100 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.2253, allocations: 219.2 kB / 411.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003655/0.2257, allocations: 449.8 kB / 412 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009231/0.2266, allocations: 1.129 MB / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2267, allocations: 0 / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2267, allocations: 0 / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.2267, allocations: 0 / 413.1 MB, free: 13.16 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.001896/0.2286, allocations: 1.144 MB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2286, allocations: 8.031 kB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.2288, allocations: 99.81 kB / 414.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007/0.2295, allocations: 0.5267 MB / 414.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.704e-05/0.2296, allocations: 58.38 kB / 414.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.2297, allocations: 80.22 kB / 415 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.231, allocations: 0.7992 MB / 415.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.2311, allocations: 7.938 kB / 415.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.947e-05/0.2311, allocations: 31.98 kB / 415.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.2312, allocations: 16 kB / 415.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.2324, allocations: 0.6012 MB / 416.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003545/0.2359, allocations: 2.693 MB / 419.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.2373, allocations: 0.6964 MB / 419.9 MB, free: 6.156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.2385, allocations: 0.5216 MB / 420.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.2386, allocations: 8.562 kB / 420.4 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007239/0.2393, allocations: 413.7 kB / 420.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 1.873e-06/0.2393, allocations: 0 / 420.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.002959/0.2423, allocations: 1.232 MB / 422 MB, free: 3.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.943e-05/0.2424, allocations: 145 kB / 422.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/0.2429, allocations: 485.9 kB / 422.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.38e-05/0.2429, allocations: 45.7 kB / 422.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.2432, allocations: 340.2 kB / 423 MB, free: 2.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.2433, allocations: 197.3 kB / 423.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.2435, allocations: 130.6 kB / 423.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2437, allocations: 370.8 kB / 423.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/0.2442, allocations: 240.7 kB / 423.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005931/0.2448, allocations: 413.2 kB / 424.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009777/0.2457, allocations: 0.5929 MB / 424.9 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2458, allocations: 0 / 424.9 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001411/0.2472, allocations: 0.8008 MB / 425.7 MB, free: 4 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2472, allocations: 4 kB / 425.7 MB, free: 0 / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.2472, allocations: 4.062 kB / 425.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004648/0.2477, allocations: 169.6 kB / 425.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/0.2481, allocations: 103.8 kB / 426 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/0.2518, allocations: 3.985 MB / 430 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004191/0.2522, allocations: 79.34 kB / 430.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.2523, allocations: 28.06 kB / 430.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006235/0.2529, allocations: 398 kB / 430.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005358/0.2534, allocations: 401.2 kB / 430.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008858/0.2543, allocations: 0.5657 MB / 431.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/0.2543, allocations: 4 kB / 431.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.001314/0.2557, allocations: 0.7733 MB / 432.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.2557, allocations: 11.94 kB / 432.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2557, allocations: 4 kB / 432.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004007/0.2561, allocations: 161.8 kB / 432.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.2565, allocations: 107.8 kB / 432.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00353/0.26, allocations: 3.981 MB / 436.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.2605, allocations: 79.55 kB / 436.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.2605, allocations: 28.06 kB / 436.6 MB, free: 4.438 MB / 350.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.0001913/0.2607, allocations: 240 kB / 436.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.854e-05/0.2608, allocations: 67.23 kB / 436.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.261, allocations: 65.64 kB / 436.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.261, allocations: 3.984 kB / 436.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.261, allocations: 4 kB / 436.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.2612, allocations: 192.2 kB / 437.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-05/0.2613, allocations: 16 kB / 437.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.2617, allocations: 43.89 kB / 437.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.2618, allocations: 56.48 kB / 437.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001938/0.2638, allocations: 0.8125 MB / 438.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00166/0.2655, allocations: 1.064 MB / 439.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004777/0.2659, allocations: 268.3 kB / 439.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003585/0.2663, allocations: 331.1 kB / 439.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of Backend: time 5.21e-07/0.2663, allocations: 0 / 439.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002279/0.2686, allocations: 1.425 MB / 441.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of SimCode: time 0.002112/0.2707, allocations: 1.839 MB / 443 MB, free: 13.88 MB / 366.1 MB Notification: Performance of Templates: time 0.02069/0.2914, allocations: 13.39 MB / 456.4 MB, free: 0.6836 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches