Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_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.001591/0.001591, allocations: 110.8 kB / 21.19 MB, free: 0.6602 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.001903/0.001903, allocations: 205.3 kB / 24.49 MB, free: 3.957 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 51.92 kB / 379 MB, free: 2.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.212, allocations: 53.36 MB / 432.4 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic): time 0.006631/0.2187, allocations: 4.707 MB / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.2212, allocations: 1.485 MB / 438.6 MB, free: 456 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003176/0.2216, allocations: 27.81 kB / 438.6 MB, free: 428 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.2219, allocations: 154.5 kB / 438.8 MB, free: 272 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005441/0.2224, allocations: 230.1 kB / 439 MB, free: 40 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/0.2231, allocations: 339.5 kB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.2242, allocations: 1.057 MB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000548/0.2247, allocations: 335.1 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005014/0.2252, allocations: 406.5 kB / 441.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005125/0.2257, allocations: 426 kB / 441.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.2259, allocations: 100 kB / 441.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.226, allocations: 104 kB / 441.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.2263, allocations: 215.3 kB / 441.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003763/0.2266, allocations: 370.2 kB / 442.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.2278, allocations: 1.155 MB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2278, allocations: 4 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2278, allocations: 4 kB / 443.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.2279, allocations: 0 / 443.4 MB, free: 11.54 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002337/0.2302, allocations: 1.296 MB / 444.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2302, allocations: 8.031 kB / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002757/0.2305, allocations: 108.3 kB / 444.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008351/0.2313, allocations: 489.8 kB / 445.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.32e-05/0.2314, allocations: 66.34 kB / 445.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.2315, allocations: 72.38 kB / 445.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.2331, allocations: 0.8783 MB / 446.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.2331, allocations: 0 / 446.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/0.2332, allocations: 35.98 kB / 446.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.2332, allocations: 16 kB / 446.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.2345, allocations: 0.5973 MB / 447 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003821/0.2383, allocations: 2.347 MB / 449.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.2397, allocations: 0.647 MB / 450 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.2409, allocations: 482 kB / 450.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/0.2409, allocations: 12.5 kB / 450.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008093/0.2417, allocations: 440.8 kB / 450.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 5.871e-06/0.2417, allocations: 3.984 kB / 450.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.003116/0.2449, allocations: 1.084 MB / 452 MB, free: 2.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.539e-05/0.245, allocations: 137.2 kB / 452.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005505/0.2455, allocations: 469.6 kB / 452.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/0.2456, allocations: 41.7 kB / 452.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.2458, allocations: 352.8 kB / 453 MB, free: 1.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.246, allocations: 206.3 kB / 453.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.2462, allocations: 134.7 kB / 453.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.2464, allocations: 366.8 kB / 453.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005343/0.247, allocations: 252.7 kB / 453.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006966/0.2477, allocations: 498.5 kB / 454.4 MB, free: 180 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.2488, allocations: 0.5863 MB / 455 MB, free: 15.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2488, allocations: 0 / 455 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001522/0.2503, allocations: 0.7833 MB / 455.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2503, allocations: 4 kB / 455.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2503, allocations: 4 kB / 455.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005273/0.2508, allocations: 166.1 kB / 455.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/0.2513, allocations: 107.8 kB / 456 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004027/0.2553, allocations: 3.693 MB / 459.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/0.2558, allocations: 83.62 kB / 459.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.2558, allocations: 20 kB / 459.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007349/0.2566, allocations: 406.1 kB / 460.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006495/0.2572, allocations: 486.4 kB / 460.7 MB, free: 9.496 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009868/0.2582, allocations: 0.5668 MB / 461.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.755e-06/0.2582, allocations: 192 / 461.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.001422/0.2596, allocations: 0.7527 MB / 462 MB, free: 8.109 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2596, allocations: 11.94 kB / 462 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.2596, allocations: 7.984 kB / 462 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004545/0.2601, allocations: 165.6 kB / 462.2 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.2605, allocations: 103.8 kB / 462.3 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004025/0.2645, allocations: 3.693 MB / 466 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.265, allocations: 75.78 kB / 466.1 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.2651, allocations: 28 kB / 466.1 MB, free: 3.82 MB / 366.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: 29 (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,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,$PRE.rectifier.thyristor_n2.off,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.fire_p,pulse2.fire_n,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000263/0.2653, allocations: 236.1 kB / 466.3 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.2654, allocations: 67.56 kB / 466.4 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.2656, allocations: 73.59 kB / 466.5 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.2656, allocations: 3.984 kB / 466.5 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2656, allocations: 3.984 kB / 466.5 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.2659, allocations: 119.4 kB / 466.6 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.731e-05/0.266, allocations: 12 kB / 466.6 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.2663, allocations: 39.95 kB / 466.6 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.2665, allocations: 52.56 kB / 466.7 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002058/0.2685, allocations: 0.8229 MB / 467.5 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001824/0.2704, allocations: 1.078 MB / 468.6 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005156/0.2709, allocations: 253.1 kB / 468.8 MB, free: 1.043 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003657/0.2712, allocations: 303.1 kB / 469.1 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of Backend: time 2.6e-07/0.2712, allocations: 0 / 469.1 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002559/0.2738, allocations: 1.372 MB / 470.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of SimCode: time 0.002441/0.2762, allocations: 1.853 MB / 472.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of Templates: time 0.02388/0.3001, allocations: 14.28 MB / 486.6 MB, free: 15.39 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RLV_Characteristic/ThyristorBridge2Pulse_RLV_Characteristic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 6.556621522002388]