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_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.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 111.1 kB / 18.4 MB, free: 4.68 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.001766/0.001766, allocations: 188.2 kB / 19.35 MB, free: 3.75 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.287/1.287, 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.001338/0.001338, allocations: 56.14 kB / 329.3 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07278/0.07413, allocations: 46.61 MB / 375.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic): time 0.005029/0.07919, allocations: 3.627 MB / 379.5 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1508/0.2301, allocations: 1.166 MB / 380.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003552/0.2304, allocations: 13.72 kB / 380.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.2307, allocations: 79.55 kB / 380.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.231, allocations: 119.7 kB / 380.9 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.2315, allocations: 222.5 kB / 381.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.232, allocations: 0.5792 MB / 381.7 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003709/0.2323, allocations: 290.3 kB / 382 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.2326, allocations: 227.5 kB / 382.2 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.2328, allocations: 238.6 kB / 382.4 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.753e-05/0.2329, allocations: 59.03 kB / 382.5 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.525e-05/0.233, allocations: 53.16 kB / 382.5 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.2332, allocations: 119.2 kB / 382.6 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.2334, allocations: 259.3 kB / 382.9 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006636/0.2341, allocations: 0.6243 MB / 383.5 MB, free: 9.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2341, allocations: 1.016 kB / 383.5 MB, free: 9.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2341, allocations: 0 / 383.5 MB, free: 9.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.2341, allocations: 0.5 kB / 383.5 MB, free: 9.375 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.001321/0.2354, allocations: 0.821 MB / 384.3 MB, free: 8.848 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2355, allocations: 9.406 kB / 384.3 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.817e-05/0.2356, allocations: 59.78 kB / 384.4 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.236, allocations: 392.3 kB / 384.8 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.2361, allocations: 34.09 kB / 384.8 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/0.2362, allocations: 44.06 kB / 384.9 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007981/0.237, allocations: 470.5 kB / 385.3 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.237, allocations: 8.594 kB / 385.3 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.237, allocations: 17.94 kB / 385.3 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.2371, allocations: 8.906 kB / 385.4 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007124/0.2378, allocations: 343.1 kB / 385.7 MB, free: 8.234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.2399, allocations: 1.562 MB / 387.3 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007678/0.2407, allocations: 326.4 kB / 387.6 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.241, allocations: 133.4 kB / 387.7 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.241, allocations: 3.812 kB / 387.7 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004576/0.2415, allocations: 268.1 kB / 388 MB, free: 6.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.844e-06/0.2415, allocations: 0 / 388 MB, free: 6.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001293/0.2428, allocations: 0.5654 MB / 388.5 MB, free: 6.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.2428, allocations: 120.3 kB / 388.7 MB, free: 6.527 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.2432, allocations: 314 kB / 389 MB, free: 6.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.2432, allocations: 40.19 kB / 389 MB, free: 6.316 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.2433, allocations: 244.8 kB / 389.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.621e-05/0.2434, allocations: 98.27 kB / 389.3 MB, free: 6.043 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.2435, allocations: 84.7 kB / 389.4 MB, free: 5.996 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.926e-05/0.2436, allocations: 350.9 kB / 389.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.2439, allocations: 136 kB / 389.9 MB, free: 5.613 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.2443, allocations: 278.9 kB / 390.2 MB, free: 5.387 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/0.2449, allocations: 382.1 kB / 390.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2449, allocations: 1.188 kB / 390.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008149/0.2457, allocations: 467.4 kB / 391 MB, free: 4.926 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2457, allocations: 6.688 kB / 391 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2457, allocations: 5.25 kB / 391 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002097/0.246, allocations: 46.62 kB / 391.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.2462, allocations: 78.19 kB / 391.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009856/0.2472, allocations: 1.679 MB / 392.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.2475, allocations: 54.83 kB / 392.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.2476, allocations: 19.06 kB / 392.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003533/0.2479, allocations: 261.4 kB / 393.1 MB, free: 3.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002937/0.2482, allocations: 271.7 kB / 393.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004901/0.2487, allocations: 370.4 kB / 393.8 MB, free: 2.598 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.956e-06/0.2488, allocations: 1.312 kB / 393.8 MB, free: 2.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0007389/0.2495, allocations: 448.8 kB / 394.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.2495, allocations: 12.36 kB / 394.2 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2495, allocations: 4.188 kB / 394.2 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001247/0.2497, allocations: 46.5 kB / 394.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.2499, allocations: 71.44 kB / 394.3 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008942/0.2508, allocations: 1.669 MB / 396 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.2511, allocations: 50.83 kB / 396.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.2512, allocations: 19.09 kB / 396.1 MB, free: 0.7227 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 (47): * Single equations (assignments): 46 * 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.000117/0.2513, allocations: 218.5 kB / 396.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.2513, allocations: 41.73 kB / 396.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.588e-05/0.2514, allocations: 44.66 kB / 396.4 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.2514, allocations: 2.094 kB / 396.4 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2514, allocations: 0.7969 kB / 396.4 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.2516, allocations: 143.5 kB / 396.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/0.2516, allocations: 7.922 kB / 396.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.2519, allocations: 28.23 kB / 396.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.252, allocations: 24.09 kB / 396.6 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000972/0.2529, allocations: 475.7 kB / 397 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001076/0.254, allocations: 0.6685 MB / 397.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003088/0.2543, allocations: 144.9 kB / 397.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002308/0.2546, allocations: 222.7 kB / 398.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of Backend: time 3.61e-07/0.2546, allocations: 0 / 398.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.256, allocations: 0.7274 MB / 398.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of SimCode: time 0.00149/0.2575, allocations: 1.245 MB / 400 MB, free: 14.18 MB / 334.1 MB Notification: Performance of Templates: time 0.01253/0.2701, allocations: 6.398 MB / 406.4 MB, free: 11.98 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_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/Rectifier1Pulse/Thyristor1Pulse_R_Characteristic/Thyristor1Pulse_R_Characteristic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches