Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 205.2 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_4.1.0_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=50000,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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 47.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2135, allocations: 53.37 MB / 432.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic): time 0.005256/0.2188, allocations: 3.5 MB / 435.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.2209, allocations: 1.169 MB / 437.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.2211, allocations: 11.94 kB / 437.1 MB, free: 2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.2213, allocations: 91.09 kB / 437.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.2217, allocations: 130.9 kB / 437.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005069/0.2222, allocations: 239.6 kB / 437.5 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006764/0.2229, allocations: 0.6313 MB / 438.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003837/0.2233, allocations: 212 kB / 438.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.2236, allocations: 255.1 kB / 438.6 MB, free: 460 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.2239, allocations: 250.8 kB / 438.8 MB, free: 208 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.159e-05/0.224, allocations: 60 kB / 438.9 MB, free: 148 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.2242, allocations: 60 kB / 439 MB, free: 88 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.2243, allocations: 131.6 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.2246, allocations: 226.8 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007682/0.2253, allocations: 0.6962 MB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2253, allocations: 0 / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2253, allocations: 0 / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.2253, allocations: 0 / 440 MB, free: 15.04 MB / 350.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.001742/0.2271, allocations: 0.9063 MB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2271, allocations: 12.03 kB / 440.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/0.2273, allocations: 68.55 kB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006074/0.228, allocations: 343.1 kB / 441.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/0.228, allocations: 37.38 kB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.535e-05/0.2281, allocations: 56.36 kB / 441.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.2291, allocations: 0.5792 MB / 442 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.2291, allocations: 3.953 kB / 442 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.042e-05/0.2292, allocations: 16 kB / 442 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.2292, allocations: 12 kB / 442 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008766/0.2301, allocations: 383.8 kB / 442.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.2327, allocations: 1.431 MB / 443.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.2338, allocations: 386.2 kB / 444.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.2341, allocations: 140.8 kB / 444.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.2341, allocations: 0 / 444.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005818/0.2347, allocations: 313.8 kB / 444.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.743e-06/0.2347, allocations: 4 kB / 444.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.001594/0.2363, allocations: 0.5491 MB / 445.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.393e-05/0.2364, allocations: 132.5 kB / 445.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.2368, allocations: 345.6 kB / 445.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/0.2368, allocations: 37.7 kB / 445.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.237, allocations: 256.4 kB / 446 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.2371, allocations: 111.1 kB / 446.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.2373, allocations: 86.12 kB / 446.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.2375, allocations: 346.8 kB / 446.5 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.2378, allocations: 154.5 kB / 446.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/0.2384, allocations: 384.1 kB / 447 MB, free: 7.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007885/0.2392, allocations: 417.5 kB / 447.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.2392, allocations: 4 kB / 447.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001036/0.2402, allocations: 0.494 MB / 447.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2402, allocations: 8 kB / 447.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.2402, allocations: 7.984 kB / 447.9 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/0.2404, allocations: 40.84 kB / 448 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.2407, allocations: 75.83 kB / 448.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.2422, allocations: 1.54 MB / 449.6 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.2426, allocations: 71.62 kB / 449.7 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.2426, allocations: 16 kB / 449.7 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004587/0.2431, allocations: 276.9 kB / 450 MB, free: 4.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004941/0.2436, allocations: 372.3 kB / 450.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006922/0.2443, allocations: 388.9 kB / 450.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-06/0.2443, allocations: 0 / 450.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009461/0.2452, allocations: 481.9 kB / 451.2 MB, free: 3.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.2452, allocations: 8.531 kB / 451.2 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2452, allocations: 4 kB / 451.2 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/0.2454, allocations: 52.83 kB / 451.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.2456, allocations: 63.91 kB / 451.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.2471, allocations: 1.552 MB / 452.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.2474, allocations: 63.86 kB / 452.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.2475, allocations: 16 kB / 452.9 MB, free: 1.316 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,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.fire_n[1],pulse2.fire_p,idealthyristor.off,$PRE.idealthyristor.off,$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.0002077/0.2477, allocations: 218.8 kB / 453.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.08e-05/0.2478, allocations: 43.75 kB / 453.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.2479, allocations: 44 kB / 453.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2479, allocations: 0 / 453.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2479, allocations: 3.938 kB / 453.2 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.248, allocations: 71.66 kB / 453.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.805e-05/0.2481, allocations: 11.94 kB / 453.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.2484, allocations: 35.95 kB / 453.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/0.2485, allocations: 27.95 kB / 453.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001193/0.2496, allocations: 498.5 kB / 453.9 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001292/0.2509, allocations: 0.7324 MB / 454.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003722/0.2513, allocations: 151.9 kB / 454.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002528/0.2516, allocations: 235.2 kB / 455 MB, free: 15.24 MB / 366.1 MB Notification: Performance of Backend: time 5.51e-07/0.2516, allocations: 4 kB / 455 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.2532, allocations: 0.747 MB / 455.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of SimCode: time 0.001661/0.2548, allocations: 1.302 MB / 457 MB, free: 13.11 MB / 366.1 MB Notification: Performance of Templates: time 0.01457/0.2694, allocations: 7.809 MB / 464.8 MB, free: 5.445 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/Rectifier1Pulse/Thyristor1Pulse_R_Characteristic/Thyristor1Pulse_R_Characteristic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.470742398996663]