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.001072/0.001072, allocations: 107.1 kB / 18.45 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 207.9 kB / 19.4 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 59.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2138, allocations: 50.53 MB / 410 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic): time 0.004967/0.2188, allocations: 3.763 MB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.2207, allocations: 1.208 MB / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.221, allocations: 11.94 kB / 415 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.2212, allocations: 87.17 kB / 415 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.2215, allocations: 134.9 kB / 415.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.222, allocations: 235.6 kB / 415.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006008/0.2226, allocations: 0.6275 MB / 416 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004342/0.2231, allocations: 311.4 kB / 416.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003032/0.2234, allocations: 247.1 kB / 416.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.2237, allocations: 250.8 kB / 416.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.661e-05/0.2238, allocations: 60 kB / 416.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.2239, allocations: 63.98 kB / 416.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.2241, allocations: 131.5 kB / 417.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.2243, allocations: 278.7 kB / 417.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006862/0.225, allocations: 0.6885 MB / 418 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.225, allocations: 4 kB / 418 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.225, allocations: 0 / 418 MB, free: 9.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.2251, allocations: 0 / 418 MB, free: 9.465 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.001428/0.2265, allocations: 0.8659 MB / 418.9 MB, free: 8.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.2265, allocations: 8.031 kB / 418.9 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.2267, allocations: 68.59 kB / 419 MB, free: 8.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005102/0.2273, allocations: 405 kB / 419.4 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.2273, allocations: 37.38 kB / 419.4 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.118e-05/0.2274, allocations: 44.38 kB / 419.5 MB, free: 7.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008823/0.2283, allocations: 0.504 MB / 420 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.2283, allocations: 0 / 420 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/0.2284, allocations: 16 kB / 420 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.2284, allocations: 20 kB / 420 MB, free: 7.406 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008069/0.2292, allocations: 379.7 kB / 420.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/0.2317, allocations: 1.669 MB / 422 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009805/0.2327, allocations: 417.2 kB / 422.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.233, allocations: 148.8 kB / 422.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.2331, allocations: 0 / 422.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005077/0.2336, allocations: 276.2 kB / 422.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.2336, allocations: 0 / 422.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.001475/0.2351, allocations: 0.6327 MB / 423.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.2352, allocations: 136.5 kB / 423.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.2355, allocations: 341.6 kB / 424 MB, free: 3.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.2356, allocations: 45.7 kB / 424 MB, free: 3.211 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.2357, allocations: 256.5 kB / 424.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.511e-05/0.2358, allocations: 107.1 kB / 424.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.236, allocations: 86.12 kB / 424.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2361, allocations: 346.8 kB / 424.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.2364, allocations: 162.4 kB / 424.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.2369, allocations: 306.5 kB / 425.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006772/0.2376, allocations: 408.9 kB / 425.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.2376, allocations: 8 kB / 425.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009095/0.2385, allocations: 0.4904 MB / 426.1 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2385, allocations: 8 kB / 426.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.2385, allocations: 4 kB / 426.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000204/0.2387, allocations: 48.83 kB / 426.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.239, allocations: 71.89 kB / 426.3 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.2403, allocations: 1.686 MB / 427.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.2407, allocations: 63.81 kB / 428 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.2407, allocations: 19.98 kB / 428 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004065/0.2411, allocations: 272.9 kB / 428.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003701/0.2415, allocations: 291.1 kB / 428.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005895/0.2421, allocations: 397.1 kB / 429 MB, free: 13.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.889e-06/0.2421, allocations: 7.984 kB / 429 MB, free: 13.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008136/0.243, allocations: 473.9 kB / 429.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.243, allocations: 8 kB / 429.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.243, allocations: 4 kB / 429.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.2431, allocations: 48.83 kB / 429.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.2434, allocations: 64.19 kB / 429.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.2446, allocations: 1.674 MB / 431.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.2449, allocations: 63.73 kB / 431.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.245, allocations: 16 kB / 431.3 MB, free: 11.31 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.000154/0.2451, allocations: 230.8 kB / 431.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.2452, allocations: 39.77 kB / 431.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.838e-05/0.2453, allocations: 48.12 kB / 431.6 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2453, allocations: 3.938 kB / 431.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2453, allocations: 0 / 431.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.2455, allocations: 148.7 kB / 431.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.777e-05/0.2455, allocations: 12 kB / 431.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.2458, allocations: 31.95 kB / 431.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.2459, allocations: 27.91 kB / 431.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001073/0.247, allocations: 0.4896 MB / 432.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00113/0.2481, allocations: 0.7259 MB / 433.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003321/0.2485, allocations: 171.9 kB / 433.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002232/0.2487, allocations: 231.2 kB / 433.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of Backend: time 3e-07/0.2487, allocations: 0 / 433.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.2501, allocations: 0.7849 MB / 434.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of SimCode: time 0.00144/0.2516, allocations: 1.301 MB / 435.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of Templates: time 0.01234/0.2639, allocations: 6.995 MB / 442.5 MB, free: 44 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