Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.00153/0.00153, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001663/0.001663, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.4/1.4, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 47.92 kB / 379 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2252, allocations: 53.37 MB / 432.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005516/0.2307, allocations: 3.78 MB / 436.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.2327, allocations: 1.003 MB / 437.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000258/0.233, allocations: 11.94 kB / 437.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.2332, allocations: 75.22 kB / 437.3 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.2336, allocations: 154.7 kB / 437.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.234, allocations: 179.6 kB / 437.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006905/0.2347, allocations: 0.6187 MB / 438.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.235, allocations: 148.6 kB / 438.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003491/0.2353, allocations: 243.1 kB / 438.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.2357, allocations: 254.8 kB / 438.9 MB, free: 444 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.382e-05/0.2357, allocations: 60 kB / 438.9 MB, free: 384 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.2358, allocations: 60 kB / 439 MB, free: 324 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.236, allocations: 131.5 kB / 439.1 MB, free: 192 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002779/0.2362, allocations: 270.7 kB / 439.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007441/0.237, allocations: 0.6494 MB / 440 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.237, allocations: 0 / 440 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.237, allocations: 0 / 440 MB, free: 15.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.237, allocations: 0 / 440 MB, free: 15.27 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001541/0.2385, allocations: 0.8554 MB / 440.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2386, allocations: 8.031 kB / 440.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.2388, allocations: 68.59 kB / 441 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005109/0.2393, allocations: 327.1 kB / 441.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.351e-05/0.2393, allocations: 33.38 kB / 441.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.2394, allocations: 40.38 kB / 441.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007781/0.2402, allocations: 473.5 kB / 441.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.2402, allocations: 3.984 kB / 441.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.2403, allocations: 16 kB / 441.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.2403, allocations: 8 kB / 441.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006054/0.2409, allocations: 323.8 kB / 442.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.2434, allocations: 1.801 MB / 443.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006954/0.2441, allocations: 355.8 kB / 444.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000566/0.2447, allocations: 249.4 kB / 444.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.2447, allocations: 8.266 kB / 444.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004716/0.2452, allocations: 273.1 kB / 444.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/0.2452, allocations: 0 / 444.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002333/0.2476, allocations: 0.7682 MB / 445.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.2476, allocations: 85.09 kB / 445.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.248, allocations: 324.5 kB / 446 MB, free: 9.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.2481, allocations: 41.69 kB / 446 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.2482, allocations: 224.7 kB / 446.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.2483, allocations: 142.8 kB / 446.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.2485, allocations: 90.08 kB / 446.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2486, allocations: 350.7 kB / 446.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.2489, allocations: 129 kB / 446.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.2492, allocations: 244.4 kB / 447.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/0.2498, allocations: 379.4 kB / 447.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2498, allocations: 0 / 447.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009101/0.2507, allocations: 0.5017 MB / 448 MB, free: 6.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.2508, allocations: 11.94 kB / 448.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2508, allocations: 4 kB / 448.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000472/0.2513, allocations: 144.7 kB / 448.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.2515, allocations: 75.86 kB / 448.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/0.2546, allocations: 2.435 MB / 450.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.2549, allocations: 43.67 kB / 450.8 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.2549, allocations: 20.14 kB / 450.8 MB, free: 4.012 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002617/0.2552, allocations: 189.8 kB / 451 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.552e-05/0.2553, allocations: 43.7 kB / 451 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.2554, allocations: 48.41 kB / 451.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2554, allocations: 4 kB / 451.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2554, allocations: 4 kB / 451.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.2554, allocations: 0 / 451.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.2569, allocations: 0.9922 MB / 452.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2569, allocations: 0 / 452.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.2571, allocations: 39.92 kB / 452.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003858/0.2575, allocations: 143.8 kB / 452.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.2575, allocations: 11.98 kB / 452.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002917/0.2604, allocations: 2.438 MB / 454.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2604, allocations: 4 kB / 454.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.2616, allocations: 0.6982 MB / 455.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.2618, allocations: 83.59 kB / 455.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-05/0.2619, allocations: 12 kB / 455.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.2621, allocations: 15.98 kB / 455.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/0.2622, allocations: 31.94 kB / 455.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.2622, allocations: 15.98 kB / 455.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002504/0.2624, allocations: 227.1 kB / 455.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2624, allocations: 0 / 455.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006408/0.2631, allocations: 143.8 kB / 455.9 MB, free: 14.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001464/0.2632, allocations: 128.2 kB / 456 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009787/0.2642, allocations: 0.5251 MB / 456.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2642, allocations: 0.9375 kB / 456.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005366/0.2647, allocations: 374.4 kB / 456.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.2652, allocations: 85.56 kB / 457 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.2669, allocations: 0.9174 MB / 457.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.2674, allocations: 0.8319 MB / 458.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.2674, allocations: 35.42 kB / 458.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2674, allocations: 0 / 458.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Templates: time 0.01085/0.2783, allocations: 7.209 MB / 466 MB, free: 4.543 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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: 7.544967000838369]