Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001653/0.001653, allocations: 109.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002006/0.002006, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2222, allocations: 50.53 MB / 410 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic): time 0.004607/0.2269, allocations: 3.763 MB / 413.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.2287, allocations: 1.204 MB / 414.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/0.2289, allocations: 15.94 kB / 415 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.2292, allocations: 87.11 kB / 415 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.2295, allocations: 130.9 kB / 415.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.2299, allocations: 235.6 kB / 415.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000593/0.2306, allocations: 0.6235 MB / 416 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000476/0.231, allocations: 323.3 kB / 416.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.2313, allocations: 243.1 kB / 416.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.2316, allocations: 250.8 kB / 416.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.367e-05/0.2317, allocations: 60 kB / 416.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.2318, allocations: 60 kB / 416.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.232, allocations: 135.5 kB / 417.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.2322, allocations: 282.6 kB / 417.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000615/0.2328, allocations: 0.6862 MB / 418 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.2329, allocations: 0 / 418 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2329, allocations: 0 / 418 MB, free: 9.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.2329, allocations: 0 / 418 MB, free: 9.535 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001492/0.2344, allocations: 0.8431 MB / 418.9 MB, free: 8.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2344, allocations: 8.031 kB / 418.9 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.2346, allocations: 68.27 kB / 419 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005229/0.2352, allocations: 412.6 kB / 419.4 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.2352, allocations: 37.38 kB / 419.4 MB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.33e-05/0.2353, allocations: 40.38 kB / 419.4 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008627/0.2361, allocations: 0.504 MB / 419.9 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.2362, allocations: 0 / 419.9 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/0.2362, allocations: 27.92 kB / 420 MB, free: 7.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.2362, allocations: 12 kB / 420 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007914/0.237, allocations: 379.8 kB / 420.3 MB, free: 7.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/0.2395, allocations: 1.665 MB / 422 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009405/0.2404, allocations: 405.8 kB / 422.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.2407, allocations: 148.8 kB / 422.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.2408, allocations: 7.938 kB / 422.6 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000482/0.2413, allocations: 276.3 kB / 422.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.2413, allocations: 3.938 kB / 422.8 MB, free: 4.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.001416/0.2427, allocations: 0.6208 MB / 423.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.2428, allocations: 140.4 kB / 423.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.2431, allocations: 345.6 kB / 423.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.2432, allocations: 41.69 kB / 424 MB, free: 3.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.2433, allocations: 256 kB / 424.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/0.2434, allocations: 98.64 kB / 424.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.2436, allocations: 90.03 kB / 424.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2437, allocations: 346.8 kB / 424.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.244, allocations: 158.5 kB / 424.9 MB, free: 2.355 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.2445, allocations: 311.1 kB / 425.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006805/0.2452, allocations: 416.8 kB / 425.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2452, allocations: 0 / 425.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009038/0.2461, allocations: 497.9 kB / 426.1 MB, free: 1.027 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2461, allocations: 4 kB / 426.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2461, allocations: 8 kB / 426.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/0.2463, allocations: 48.83 kB / 426.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.2466, allocations: 79.83 kB / 426.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.248, allocations: 1.666 MB / 427.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.2483, allocations: 67.7 kB / 428 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.2483, allocations: 20 kB / 428 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003908/0.2487, allocations: 276.9 kB / 428.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003582/0.2491, allocations: 290.3 kB / 428.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005784/0.2497, allocations: 397.1 kB / 428.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.2497, allocations: 0 / 428.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.000791/0.2505, allocations: 469.6 kB / 429.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.2505, allocations: 8 kB / 429.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2505, allocations: 4 kB / 429.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001259/0.2507, allocations: 52.77 kB / 429.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.2509, allocations: 68.31 kB / 429.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.2521, allocations: 1.674 MB / 431.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.2524, allocations: 59.66 kB / 431.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.2525, allocations: 20 kB / 431.3 MB, free: 11.43 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: 21 (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,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 (49): * Single equations (assignments): 48 * 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.0001615/0.2527, allocations: 222.8 kB / 431.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.2527, allocations: 43.53 kB / 431.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.331e-05/0.2528, allocations: 44.12 kB / 431.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2528, allocations: 0 / 431.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2528, allocations: 7.984 kB / 431.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.253, allocations: 144.5 kB / 431.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.2531, allocations: 11.98 kB / 431.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.2533, allocations: 31.97 kB / 431.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.2534, allocations: 31.83 kB / 431.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001047/0.2545, allocations: 0.4897 MB / 432.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001101/0.2556, allocations: 0.7295 MB / 433 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003165/0.2559, allocations: 171.8 kB / 433.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002172/0.2561, allocations: 235.2 kB / 433.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of Backend: time 3.91e-07/0.2561, allocations: 0 / 433.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.2575, allocations: 0.7861 MB / 434.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of SimCode: time 0.001362/0.2589, allocations: 1.275 MB / 435.5 MB, free: 7.094 MB / 350.1 MB Notification: Performance of Templates: time 0.01145/0.2704, allocations: 6.991 MB / 442.5 MB, free: 188 kB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/Rectifier1Pulse/Thyristor1Pulse_R_Characteristic/Thyristor1Pulse_R_Characteristic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches