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_RL.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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 110.6 kB / 18.4 MB, free: 4.699 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.001181/0.001181, allocations: 186.2 kB / 19.34 MB, free: 3.777 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.289/1.289, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001189/0.001189, allocations: 52.16 kB / 329.3 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07303/0.07423, allocations: 46.62 MB / 375.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL): time 0.1543/0.2285, allocations: 4.878 MB / 380.8 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.2308, allocations: 1.452 MB / 382.2 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002832/0.2311, allocations: 17.84 kB / 382.2 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.2314, allocations: 142 kB / 382.4 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.2318, allocations: 200.2 kB / 382.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.2322, allocations: 308.3 kB / 382.9 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007456/0.233, allocations: 0.9649 MB / 383.8 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006001/0.2336, allocations: 469.4 kB / 384.3 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.2339, allocations: 361.1 kB / 384.6 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003567/0.2343, allocations: 385.5 kB / 385 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.2344, allocations: 90.25 kB / 385.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.2346, allocations: 91.44 kB / 385.2 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.2347, allocations: 196.7 kB / 385.4 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002946/0.235, allocations: 419.2 kB / 385.8 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008235/0.2358, allocations: 1.047 MB / 386.8 MB, free: 7.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2358, allocations: 0 / 386.8 MB, free: 7.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2359, allocations: 0 / 386.8 MB, free: 7.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.2359, allocations: 0 / 386.8 MB, free: 7.902 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.001538/0.2374, allocations: 1.073 MB / 387.9 MB, free: 7.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.2375, allocations: 8.875 kB / 387.9 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.2376, allocations: 88.8 kB / 388 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/0.2382, allocations: 0.5082 MB / 388.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.914e-05/0.2382, allocations: 54.81 kB / 388.6 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.034e-05/0.2383, allocations: 65.39 kB / 388.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.2394, allocations: 0.7143 MB / 389.3 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.2394, allocations: 1.953 kB / 389.3 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.954e-05/0.2395, allocations: 27.09 kB / 389.4 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.2395, allocations: 16.31 kB / 389.4 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008993/0.2404, allocations: 0.5178 MB / 389.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002927/0.2434, allocations: 2.553 MB / 392.5 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007985/0.2442, allocations: 0.5452 MB / 393 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008713/0.2451, allocations: 458.5 kB / 393.5 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.2451, allocations: 9.594 kB / 393.5 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005572/0.2457, allocations: 379.5 kB / 393.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of pre-optimization done (n=59): time 2.846e-06/0.2457, allocations: 0 / 393.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=59): time 0.002494/0.2482, allocations: 1.143 MB / 395 MB, free: 3.383 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.2482, allocations: 113 kB / 395.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.2487, allocations: 474.2 kB / 395.5 MB, free: 3.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.2488, allocations: 45.09 kB / 395.6 MB, free: 2.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.2489, allocations: 314.7 kB / 395.9 MB, free: 2.738 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.249, allocations: 181.3 kB / 396.1 MB, free: 2.602 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.2492, allocations: 121.5 kB / 396.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.2493, allocations: 370.2 kB / 396.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.2496, allocations: 210.6 kB / 396.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/0.2501, allocations: 374.6 kB / 397.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006864/0.2508, allocations: 0.5188 MB / 397.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2508, allocations: 5.219 kB / 397.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001119/0.2519, allocations: 0.7252 MB / 398.4 MB, free: 1.156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2519, allocations: 7.641 kB / 398.4 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2519, allocations: 6.281 kB / 398.4 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004408/0.2524, allocations: 162.8 kB / 398.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.2527, allocations: 91.72 kB / 398.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003412/0.2561, allocations: 3.991 MB / 402.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003653/0.2565, allocations: 76.41 kB / 402.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.2566, allocations: 27.8 kB / 402.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005248/0.2571, allocations: 366.1 kB / 403.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004353/0.2575, allocations: 362.4 kB / 403.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006945/0.2582, allocations: 0.5052 MB / 403.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.2583, allocations: 1.188 kB / 404 MB, free: 12.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.001178/0.2594, allocations: 0.7162 MB / 404.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.2595, allocations: 8.156 kB / 404.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2595, allocations: 8.125 kB / 404.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003984/0.2599, allocations: 167.6 kB / 404.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.2602, allocations: 89.5 kB / 404.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003516/0.2637, allocations: 3.977 MB / 408.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.2641, allocations: 63.52 kB / 409 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.2642, allocations: 23.47 kB / 409 MB, free: 8.586 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 (66): * Single equations (assignments): 64 * 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.0001967/0.2644, allocations: 236.1 kB / 409.2 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.721e-05/0.2645, allocations: 65.72 kB / 409.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.2646, allocations: 67.5 kB / 409.4 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.2646, allocations: 13.27 kB / 409.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2646, allocations: 0 / 409.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.2648, allocations: 188.8 kB / 409.6 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/0.2649, allocations: 13.69 kB / 409.6 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.2652, allocations: 27.72 kB / 409.6 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.2654, allocations: 45.06 kB / 409.6 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001607/0.267, allocations: 0.7438 MB / 410.4 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001344/0.2683, allocations: 0.9634 MB / 411.3 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003714/0.2687, allocations: 234.4 kB / 411.6 MB, free: 7.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003415/0.2691, allocations: 323.3 kB / 411.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of Backend: time 4.51e-07/0.2691, allocations: 0 / 411.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002093/0.2712, allocations: 1.352 MB / 413.2 MB, free: 5.914 MB / 334.1 MB Notification: Performance of SimCode: time 0.002078/0.2733, allocations: 1.749 MB / 415 MB, free: 4.625 MB / 334.1 MB Notification: Performance of Templates: time 0.02057/0.2938, allocations: 12.85 MB / 427.8 MB, free: 9.727 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_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_RL/ThyristorBridge2Pulse_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches