Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_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.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 107.2 kB / 18.4 MB, free: 4.656 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.001075/0.001075, allocations: 188.5 kB / 19.34 MB, free: 3.734 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.283/1.283, 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.001083/0.001083, allocations: 44.41 kB / 329.3 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07141/0.0725, allocations: 46.62 MB / 375.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R): time 0.004593/0.07712, allocations: 3.588 MB / 379.5 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1523/0.2295, allocations: 1.153 MB / 380.6 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005709/0.2301, allocations: 12.91 kB / 380.6 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.2304, allocations: 85.61 kB / 380.7 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004194/0.2309, allocations: 118.8 kB / 380.8 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.2313, allocations: 211.8 kB / 381 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005562/0.2319, allocations: 0.573 MB / 381.6 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004184/0.2323, allocations: 284.8 kB / 381.9 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003313/0.2327, allocations: 219.4 kB / 382.1 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.233, allocations: 231.4 kB / 382.3 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.908e-05/0.2331, allocations: 57.78 kB / 382.4 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-05/0.2332, allocations: 52.22 kB / 382.4 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.2333, allocations: 122.1 kB / 382.5 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.2336, allocations: 250.6 kB / 382.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006448/0.2342, allocations: 0.61 MB / 383.4 MB, free: 9.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2342, allocations: 5.406 kB / 383.4 MB, free: 9.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2342, allocations: 3.938 kB / 383.4 MB, free: 9.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.425e-06/0.2343, allocations: 0 / 383.4 MB, free: 9.422 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001307/0.2356, allocations: 0.7878 MB / 384.2 MB, free: 8.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2356, allocations: 8.938 kB / 384.2 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.2357, allocations: 55.88 kB / 384.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.2362, allocations: 386.6 kB / 384.6 MB, free: 8.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.2363, allocations: 32.42 kB / 384.7 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.507e-05/0.2364, allocations: 42.39 kB / 384.7 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007573/0.2371, allocations: 450.1 kB / 385.2 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.2372, allocations: 5.75 kB / 385.2 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.474e-05/0.2372, allocations: 17.33 kB / 385.2 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.2372, allocations: 9.062 kB / 385.2 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005934/0.2378, allocations: 316.8 kB / 385.5 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/0.24, allocations: 1.537 MB / 387 MB, free: 7.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000487/0.2405, allocations: 272.6 kB / 387.3 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.2407, allocations: 116.8 kB / 387.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.2407, allocations: 2.938 kB / 387.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000417/0.2411, allocations: 249.2 kB / 387.7 MB, free: 7.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.2412, allocations: 4 kB / 387.7 MB, free: 7.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001165/0.2423, allocations: 0.5246 MB / 388.2 MB, free: 6.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.2424, allocations: 115.4 kB / 388.3 MB, free: 6.645 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.2427, allocations: 322.6 kB / 388.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.2427, allocations: 39.92 kB / 388.7 MB, free: 6.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.2429, allocations: 230.7 kB / 388.9 MB, free: 6.238 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/0.2429, allocations: 91.67 kB / 389 MB, free: 6.172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.243, allocations: 88.97 kB / 389.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.325e-05/0.2431, allocations: 346.7 kB / 389.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.2434, allocations: 126.6 kB / 389.5 MB, free: 5.738 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.2437, allocations: 261 kB / 389.8 MB, free: 5.516 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.2441, allocations: 361.7 kB / 390.1 MB, free: 5.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2441, allocations: 1.375 kB / 390.1 MB, free: 5.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007009/0.2448, allocations: 432.9 kB / 390.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2449, allocations: 6 kB / 390.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2449, allocations: 6.953 kB / 390.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/0.2451, allocations: 50.58 kB / 390.6 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.2453, allocations: 62.44 kB / 390.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.2464, allocations: 1.68 MB / 392.4 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.2467, allocations: 48.3 kB / 392.4 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.2467, allocations: 19.23 kB / 392.4 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002961/0.247, allocations: 241.9 kB / 392.7 MB, free: 3.234 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000246/0.2473, allocations: 252.7 kB / 392.9 MB, free: 3.016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003873/0.2477, allocations: 353.8 kB / 393.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.995e-06/0.2477, allocations: 1.75 kB / 393.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization_lambda0): time 0.0006275/0.2483, allocations: 416.6 kB / 393.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.2483, allocations: 10.72 kB / 393.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2483, allocations: 6.469 kB / 393.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001261/0.2485, allocations: 46.62 kB / 393.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.2487, allocations: 59.75 kB / 393.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009193/0.2496, allocations: 1.674 MB / 395.5 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.2499, allocations: 47.14 kB / 395.5 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.2499, allocations: 13.59 kB / 395.5 MB, free: 0.8828 MB / 318.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: 21 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,idealthyristor.off,$PRE.idealthyristor.off,pulse2.fire_p,pulse2.twoPulse.fire_n[1],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,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.2501, allocations: 226 kB / 395.7 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.2501, allocations: 36.19 kB / 395.8 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.126e-05/0.2502, allocations: 43.23 kB / 395.8 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2502, allocations: 3.188 kB / 395.8 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2502, allocations: 4 kB / 395.8 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.2503, allocations: 139 kB / 396 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/0.2504, allocations: 6.906 kB / 396 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.2506, allocations: 23.25 kB / 396 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.2507, allocations: 25.58 kB / 396 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008235/0.2515, allocations: 427.7 kB / 396.4 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008546/0.2524, allocations: 0.6249 MB / 397 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000248/0.2526, allocations: 131.1 kB / 397.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.2529, allocations: 221.1 kB / 397.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of Backend: time 4.3e-07/0.2529, allocations: 0 / 397.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.2542, allocations: 0.7081 MB / 398.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of SimCode: time 0.001332/0.2555, allocations: 1.209 MB / 399.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of Templates: time 0.01102/0.2666, allocations: 6.105 MB / 405.4 MB, free: 12.54 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_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/Rectifier1Pulse/Thyristor1Pulse_R/Thyristor1Pulse_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches