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_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 107.3 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.001668/0.001668, allocations: 187.3 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.262/1.262, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001196/0.001196, allocations: 55.92 kB / 329.3 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06896/0.07017, allocations: 46.63 MB / 375.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R): time 0.1429/0.2131, allocations: 4.759 MB / 380.6 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.2152, allocations: 1.439 MB / 382.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002755/0.2155, allocations: 20.44 kB / 382.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.2158, allocations: 132.5 kB / 382.2 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000371/0.2162, allocations: 188.2 kB / 382.4 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.2167, allocations: 302.6 kB / 382.7 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006877/0.2174, allocations: 0.9473 MB / 383.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005833/0.218, allocations: 457.9 kB / 384.1 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.2183, allocations: 348.1 kB / 384.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003761/0.2187, allocations: 375 kB / 384.8 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.2188, allocations: 89.03 kB / 384.9 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.2189, allocations: 89.19 kB / 385 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.2191, allocations: 193.3 kB / 385.2 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002841/0.2194, allocations: 405 kB / 385.6 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007803/0.2202, allocations: 1.017 MB / 386.6 MB, free: 8 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2202, allocations: 0 / 386.6 MB, free: 8 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2202, allocations: 4 kB / 386.6 MB, free: 7.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2202, allocations: 0 / 386.6 MB, free: 7.996 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001549/0.2218, allocations: 1.052 MB / 387.6 MB, free: 7.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.2218, allocations: 8.344 kB / 387.7 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.2219, allocations: 86.92 kB / 387.7 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006089/0.2226, allocations: 0.5022 MB / 388.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.2226, allocations: 48.89 kB / 388.3 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.529e-05/0.2227, allocations: 64.44 kB / 388.3 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.2238, allocations: 0.6951 MB / 389 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.2238, allocations: 4.656 kB / 389 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/0.2238, allocations: 27.08 kB / 389.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.2239, allocations: 16.12 kB / 389.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008901/0.2248, allocations: 0.5063 MB / 389.6 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/0.2277, allocations: 2.501 MB / 392.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008397/0.2285, allocations: 0.5343 MB / 392.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005598/0.2291, allocations: 316.2 kB / 392.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.2292, allocations: 9.094 kB / 392.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005676/0.2297, allocations: 365.6 kB / 393.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=57): time 1.894e-06/0.2297, allocations: 1.188 kB / 393.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=57): time 0.002651/0.2324, allocations: 1.045 MB / 394.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.2325, allocations: 117 kB / 394.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004701/0.2329, allocations: 462.9 kB / 394.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.233, allocations: 49.36 kB / 395 MB, free: 3.285 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.2331, allocations: 313.7 kB / 395.3 MB, free: 3.039 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.2333, allocations: 170.3 kB / 395.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.2334, allocations: 124.6 kB / 395.6 MB, free: 2.844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.2335, allocations: 365 kB / 395.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/0.2339, allocations: 201.8 kB / 396.1 MB, free: 2.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.2343, allocations: 354.6 kB / 396.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006681/0.235, allocations: 0.5102 MB / 397 MB, free: 1.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.235, allocations: 1.188 kB / 397 MB, free: 1.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001062/0.2361, allocations: 0.6913 MB / 397.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2361, allocations: 6.688 kB / 397.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.2361, allocations: 5.281 kB / 397.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004343/0.2365, allocations: 153.4 kB / 397.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.2368, allocations: 89.05 kB / 397.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/0.2394, allocations: 2.587 MB / 400.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.2397, allocations: 71.55 kB / 400.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.2398, allocations: 26.94 kB / 400.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005079/0.2403, allocations: 356.8 kB / 400.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000433/0.2408, allocations: 344.7 kB / 401.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000681/0.2414, allocations: 494.5 kB / 401.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.2415, allocations: 1.25 kB / 401.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001082/0.2425, allocations: 0.677 MB / 402.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.2426, allocations: 7.594 kB / 402.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2426, allocations: 6.141 kB / 402.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003927/0.243, allocations: 161.7 kB / 402.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.2433, allocations: 80.47 kB / 402.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.246, allocations: 2.577 MB / 405.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.2464, allocations: 64.16 kB / 405.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.2465, allocations: 25.22 kB / 405.4 MB, free: 12.02 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 (62): * Single equations (assignments): 61 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.2467, allocations: 244.3 kB / 405.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.003e-05/0.2467, allocations: 59.94 kB / 405.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.2469, allocations: 72.95 kB / 405.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.2469, allocations: 4.203 kB / 405.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2469, allocations: 0 / 405.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.2471, allocations: 184 kB / 405.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.979e-05/0.2472, allocations: 13.17 kB / 405.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.2475, allocations: 32.36 kB / 406 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.2476, allocations: 43.73 kB / 406 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001527/0.2492, allocations: 0.7138 MB / 406.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001339/0.2505, allocations: 0.9215 MB / 407.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00038/0.2509, allocations: 225.4 kB / 407.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003459/0.2513, allocations: 322.8 kB / 408.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of Backend: time 5.31e-07/0.2513, allocations: 0 / 408.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00188/0.2532, allocations: 1.126 MB / 409.3 MB, free: 9.75 MB / 334.1 MB Notification: Performance of SimCode: time 0.001866/0.255, allocations: 1.663 MB / 411 MB, free: 8.523 MB / 334.1 MB Notification: Performance of Templates: time 0.01771/0.2728, allocations: 11.91 MB / 422.9 MB, free: 14.97 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_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_R/ThyristorBridge2Pulse_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches