Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001825/0.001825, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002372/0.002372, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.2 MB / 255.1 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 67.89 kB / 374.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09194/0.09377, allocations: 53.32 MB / 427.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005279/0.09905, allocations: 3.765 MB / 431.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1851/0.2841, allocations: 0.9968 MB / 432.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003411/0.2845, allocations: 8.344 kB / 432.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.2847, allocations: 87.27 kB / 432.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.2851, allocations: 145.2 kB / 432.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.2855, allocations: 186.6 kB / 433 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006185/0.2861, allocations: 0.6275 MB / 433.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.2864, allocations: 144.9 kB / 433.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003308/0.2867, allocations: 238 kB / 434 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.287, allocations: 259 kB / 434.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.563e-05/0.2871, allocations: 62.84 kB / 434.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.2872, allocations: 56.03 kB / 434.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.2874, allocations: 119.3 kB / 434.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.2876, allocations: 272.5 kB / 434.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006201/0.2882, allocations: 0.6483 MB / 435.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2882, allocations: 1.469 kB / 435.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2882, allocations: 1.125 kB / 435.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.2882, allocations: 0 / 435.4 MB, free: 8.219 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.001342/0.2895, allocations: 0.8127 MB / 436.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2896, allocations: 12.06 kB / 436.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.2898, allocations: 65.86 kB / 436.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.2903, allocations: 383.2 kB / 436.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.2903, allocations: 35.58 kB / 436.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.782e-05/0.2904, allocations: 45.62 kB / 436.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008393/0.2912, allocations: 458.2 kB / 437.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.2913, allocations: 1.766 kB / 437.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.677e-05/0.2913, allocations: 30.84 kB / 437.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.2913, allocations: 10.31 kB / 437.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006105/0.2919, allocations: 319.1 kB / 437.6 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.2944, allocations: 1.854 MB / 439.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00073/0.2951, allocations: 0.5678 MB / 440 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005632/0.2956, allocations: 249 kB / 440.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/0.2957, allocations: 6.953 kB / 440.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004512/0.2961, allocations: 265.3 kB / 440.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.244e-06/0.2961, allocations: 4 kB / 440.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002353/0.2985, allocations: 0.8347 MB / 441.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.2985, allocations: 88.19 kB / 441.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.2989, allocations: 326.9 kB / 441.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.299, allocations: 37.56 kB / 441.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.2991, allocations: 220.1 kB / 442 MB, free: 4.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.715e-05/0.2992, allocations: 148 kB / 442.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.2993, allocations: 88.5 kB / 442.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.2994, allocations: 354.8 kB / 442.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.2996, allocations: 124.2 kB / 442.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.2999, allocations: 252.3 kB / 443 MB, free: 3.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.3003, allocations: 370.9 kB / 443.3 MB, free: 3.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3003, allocations: 1.375 kB / 443.3 MB, free: 3.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008435/0.3012, allocations: 0.5056 MB / 443.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3012, allocations: 6.969 kB / 443.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.3012, allocations: 4.312 kB / 443.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005259/0.3018, allocations: 158.4 kB / 444 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.302, allocations: 64.61 kB / 444.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.3044, allocations: 2.54 MB / 446.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.3047, allocations: 52.64 kB / 446.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.3047, allocations: 18.19 kB / 446.7 MB, free: 0.6953 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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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.0001887/0.3049, allocations: 177.4 kB / 446.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.305, allocations: 40.12 kB / 446.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.451e-05/0.3051, allocations: 53.38 kB / 446.9 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3051, allocations: 7.094 kB / 446.9 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3051, allocations: 0 / 446.9 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.3051, allocations: 6.953 kB / 446.9 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.3066, allocations: 1.019 MB / 448 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3066, allocations: 5.672 kB / 448 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.3068, allocations: 35.38 kB / 448 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004258/0.3072, allocations: 143.9 kB / 448.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.3072, allocations: 8.812 kB / 448.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003051/0.3103, allocations: 2.535 MB / 450.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3103, allocations: 4.609 kB / 450.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.3115, allocations: 0.7039 MB / 451.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.3117, allocations: 159 kB / 451.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.07e-05/0.3118, allocations: 17.22 kB / 451.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.312, allocations: 16.09 kB / 451.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.3121, allocations: 32.47 kB / 451.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.3122, allocations: 14.16 kB / 451.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002856/0.3124, allocations: 228.7 kB / 451.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3124, allocations: 0 / 451.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000648/0.3131, allocations: 145 kB / 452 MB, free: 13.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001712/0.3133, allocations: 126.1 kB / 452.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.3143, allocations: 0.5161 MB / 452.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3143, allocations: 0 / 452.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006057/0.3149, allocations: 364.3 kB / 453 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.3154, allocations: 96.73 kB / 453.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.3171, allocations: 0.9238 MB / 454 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.3176, allocations: 0.8296 MB / 454.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.96e-05/0.3177, allocations: 33.19 kB / 454.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3177, allocations: 0 / 454.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of Templates: time 0.01051/0.3282, allocations: 7.187 MB / 462 MB, free: 8.688 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.867062516044825]