Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.001395/0.001395, allocations: 108.6 kB / 21.18 MB, free: 0.7734 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.001517/0.001517, allocations: 189.4 kB / 24.47 MB, free: 4.18 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.436/1.436, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 47.91 kB / 371.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2333, allocations: 52.18 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006613/0.2399, allocations: 4.778 MB / 428.7 MB, free: 9.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002744/0.2427, allocations: 1.309 MB / 430 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004144/0.2431, allocations: 39.69 kB / 430 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006603/0.2437, allocations: 226.5 kB / 430.2 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008974/0.2446, allocations: 366 kB / 430.6 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.2451, allocations: 219.6 kB / 430.8 MB, free: 7.715 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001762/0.2468, allocations: 1.533 MB / 432.4 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000832/0.2477, allocations: 0.5592 MB / 432.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008295/0.2485, allocations: 0.6542 MB / 433.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.2496, allocations: 0.7822 MB / 434.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002123/0.2498, allocations: 164 kB / 434.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.2501, allocations: 164 kB / 434.7 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004214/0.2505, allocations: 442.7 kB / 435.1 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007786/0.2513, allocations: 0.7312 MB / 435.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.2534, allocations: 2.096 MB / 437.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2535, allocations: 0 / 437.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2535, allocations: 0 / 437.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.77e-05/0.2535, allocations: 0 / 437.9 MB, free: 0.5625 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003342/0.2568, allocations: 1.881 MB / 439.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2569, allocations: 11.97 kB / 439.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.2571, allocations: 144 kB / 440 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.2587, allocations: 0.8814 MB / 440.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.864e-05/0.2587, allocations: 70.38 kB / 440.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.2589, allocations: 112.1 kB / 441 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.2612, allocations: 1.439 MB / 442.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.2612, allocations: 0 / 442.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.2614, allocations: 43.98 kB / 442.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-05/0.2614, allocations: 42 kB / 442.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.2636, allocations: 1.292 MB / 443.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006635/0.2702, allocations: 4.259 MB / 448.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.2719, allocations: 0.9958 MB / 449.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.2731, allocations: 0.6883 MB / 449.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.67e-05/0.2732, allocations: 4.656 kB / 449.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009733/0.2741, allocations: 0.5937 MB / 450.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.304e-06/0.2741, allocations: 0 / 450.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.007279/0.2814, allocations: 2.754 MB / 453.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.224e-05/0.2815, allocations: 115.5 kB / 453.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.2827, allocations: 0.8285 MB / 454.1 MB, free: 152 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.398e-05/0.2827, allocations: 45.7 kB / 454.1 MB, free: 100 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004663/0.2832, allocations: 496.7 kB / 454.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.2834, allocations: 253.9 kB / 454.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.2837, allocations: 138.6 kB / 455 MB, free: 15.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.2839, allocations: 398.7 kB / 455.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006412/0.2845, allocations: 393.7 kB / 455.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007739/0.2853, allocations: 0.5378 MB / 456.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.2867, allocations: 0.9171 MB / 457.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2867, allocations: 0 / 457.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002158/0.2888, allocations: 1.294 MB / 458.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.2888, allocations: 15.92 kB / 458.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2889, allocations: 4 kB / 458.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.29, allocations: 461.5 kB / 459 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.2903, allocations: 99.81 kB / 459.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007451/0.2978, allocations: 5.472 MB / 464.5 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005977/0.2984, allocations: 83.7 kB / 464.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.346e-05/0.2984, allocations: 32 kB / 464.7 MB, free: 5.289 MB / 366.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: 15 (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_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0006785/0.2991, allocations: 467.2 kB / 465.1 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.2993, allocations: 91.44 kB / 465.2 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.2995, allocations: 108.6 kB / 465.3 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.2995, allocations: 8 kB / 465.3 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2995, allocations: 0 / 465.3 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.2995, allocations: 7.969 kB / 465.3 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004113/0.3036, allocations: 2.559 MB / 467.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.3036, allocations: 0 / 467.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.3039, allocations: 67.89 kB / 467.9 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009728/0.3049, allocations: 456.4 kB / 468.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/0.3049, allocations: 12 kB / 468.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007183/0.3121, allocations: 5.424 MB / 473.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.3121, allocations: 7.922 kB / 473.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002896/0.315, allocations: 1.901 MB / 475.7 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005139/0.3155, allocations: 203.3 kB / 475.9 MB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.3156, allocations: 16 kB / 476 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.3161, allocations: 47.94 kB / 476 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.3162, allocations: 72.52 kB / 476.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.3163, allocations: 23.98 kB / 476.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007983/0.3171, allocations: 0.5849 MB / 476.7 MB, free: 9.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3171, allocations: 0 / 476.7 MB, free: 9.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009539/0.318, allocations: 351.2 kB / 477 MB, free: 8.707 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001745/0.3182, allocations: 134 kB / 477.2 MB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.3204, allocations: 1.243 MB / 478.4 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3204, allocations: 0 / 478.4 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.3217, allocations: 0.8011 MB / 479.2 MB, free: 6.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.3227, allocations: 274.8 kB / 479.5 MB, free: 6.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/0.3269, allocations: 2.369 MB / 481.8 MB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009868/0.3279, allocations: 1.299 MB / 483.1 MB, free: 2.508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.3281, allocations: 55.42 kB / 483.2 MB, free: 2.453 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3281, allocations: 0 / 483.2 MB, free: 2.453 MB / 382.1 MB Notification: Performance of Templates: time 0.02783/0.3559, allocations: 20.74 MB / 0.4921 GB, free: 13.79 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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: 9.32717939792201]