Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 108.8 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002088/0.002088, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 47.92 kB / 371.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2301, allocations: 52.18 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005292/0.2354, allocations: 3.754 MB / 427.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.2371, allocations: 0.9325 MB / 428.6 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.2374, allocations: 11.94 kB / 428.6 MB, free: 9.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.2376, allocations: 75.23 kB / 428.7 MB, free: 9.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.238, allocations: 154.7 kB / 428.8 MB, free: 9.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.2383, allocations: 159.8 kB / 429 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006633/0.239, allocations: 0.6109 MB / 429.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000303/0.2393, allocations: 152.6 kB / 429.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003128/0.2396, allocations: 231.1 kB / 430 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003654/0.24, allocations: 250.9 kB / 430.2 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.798e-05/0.2401, allocations: 56 kB / 430.3 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.541e-05/0.2402, allocations: 52 kB / 430.3 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.2403, allocations: 119.6 kB / 430.4 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000266/0.2406, allocations: 274.7 kB / 430.7 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007182/0.2413, allocations: 0.6339 MB / 431.3 MB, free: 7.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2413, allocations: 0 / 431.3 MB, free: 7.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2413, allocations: 3.938 kB / 431.3 MB, free: 7.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.2413, allocations: 0 / 431.3 MB, free: 7.219 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001539/0.2428, allocations: 0.8361 MB / 432.2 MB, free: 6.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2429, allocations: 8.031 kB / 432.2 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.243, allocations: 68.56 kB / 432.2 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.2435, allocations: 307.2 kB / 432.5 MB, free: 5.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.2435, allocations: 33.38 kB / 432.6 MB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-05/0.2436, allocations: 44.38 kB / 432.6 MB, free: 5.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007878/0.2444, allocations: 469.5 kB / 433.1 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.2444, allocations: 0 / 433.1 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.2444, allocations: 16 kB / 433.1 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.2444, allocations: 12 kB / 433.1 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006195/0.245, allocations: 327.7 kB / 433.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.2476, allocations: 1.79 MB / 435.2 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007129/0.2483, allocations: 348 kB / 435.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005899/0.2489, allocations: 261.3 kB / 435.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.2489, allocations: 8.328 kB / 435.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000462/0.2494, allocations: 261.2 kB / 436.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.803e-06/0.2494, allocations: 0 / 436.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002386/0.2517, allocations: 0.7759 MB / 436.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.2518, allocations: 85.11 kB / 436.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.2522, allocations: 312.5 kB / 437.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.2522, allocations: 37.69 kB / 437.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.2524, allocations: 216.7 kB / 437.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.2525, allocations: 146.8 kB / 437.6 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.2527, allocations: 86.14 kB / 437.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.2528, allocations: 350.7 kB / 438.1 MB, free: 224 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.2531, allocations: 117 kB / 438.2 MB, free: 108 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.2534, allocations: 255.8 kB / 438.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005747/0.254, allocations: 379.1 kB / 438.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.254, allocations: 4 kB / 438.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009159/0.2549, allocations: 0.4979 MB / 439.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.255, allocations: 11.94 kB / 439.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.255, allocations: 4 kB / 439.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004899/0.2555, allocations: 152.8 kB / 439.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.2557, allocations: 59.91 kB / 439.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/0.2588, allocations: 2.443 MB / 442 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.2591, allocations: 47.67 kB / 442 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.2591, allocations: 23.94 kB / 442 MB, free: 12.02 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.0002516/0.2594, allocations: 177.6 kB / 442.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.2594, allocations: 43.7 kB / 442.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.2596, allocations: 48.3 kB / 442.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.2596, allocations: 4 kB / 442.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2596, allocations: 0 / 442.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2596, allocations: 4 kB / 442.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.2611, allocations: 0.9766 MB / 443.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2611, allocations: 0 / 443.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.2613, allocations: 39.97 kB / 443.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004048/0.2617, allocations: 148.9 kB / 443.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.2618, allocations: 4 kB / 443.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/0.2647, allocations: 2.44 MB / 445.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2647, allocations: 0 / 445.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.2659, allocations: 0.7134 MB / 446.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.2661, allocations: 79.58 kB / 446.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.34e-05/0.2662, allocations: 15.98 kB / 446.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.2664, allocations: 16 kB / 446.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.2665, allocations: 39.86 kB / 446.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.2665, allocations: 12 kB / 446.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002497/0.2668, allocations: 219.1 kB / 447 MB, free: 6.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2668, allocations: 0 / 447 MB, free: 6.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000607/0.2674, allocations: 143.8 kB / 447.1 MB, free: 6.707 MB / 350.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.0001737/0.2676, allocations: 119.9 kB / 447.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.2686, allocations: 0.5336 MB / 447.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2686, allocations: 0 / 447.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005668/0.2692, allocations: 366.6 kB / 448.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.2696, allocations: 89.2 kB / 448.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.2714, allocations: 0.9167 MB / 449.1 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.2718, allocations: 0.824 MB / 450 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.384e-05/0.2719, allocations: 31.44 kB / 450 MB, free: 3.746 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2719, allocations: 0 / 450 MB, free: 3.746 MB / 350.1 MB Notification: Performance of Templates: time 0.01075/0.2827, allocations: 7.035 MB / 457 MB, free: 12.75 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.985941499006003]