Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.001597/0.001597, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001747/0.001747, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.48/1.48, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.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.1.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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 51.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2468, allocations: 53.37 MB / 432.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006513/0.2533, allocations: 4.332 MB / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003049/0.2564, allocations: 1.324 MB / 438 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004908/0.2569, allocations: 47.62 kB / 438.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007729/0.2577, allocations: 222.4 kB / 438.3 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009915/0.2587, allocations: 373.9 kB / 438.6 MB, free: 436 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.2591, allocations: 227.6 kB / 438.9 MB, free: 208 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.2608, allocations: 1.553 MB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00083/0.2617, allocations: 0.5594 MB / 441 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008224/0.2625, allocations: 0.662 MB / 441.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.2636, allocations: 0.7822 MB / 442.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002076/0.2638, allocations: 164 kB / 442.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.2641, allocations: 172 kB / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004267/0.2645, allocations: 450.6 kB / 443.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007163/0.2652, allocations: 0.5873 MB / 443.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002244/0.2674, allocations: 2.12 MB / 445.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2675, allocations: 4 kB / 445.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2675, allocations: 0 / 445.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.772e-05/0.2675, allocations: 0 / 445.9 MB, free: 9.117 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003576/0.2711, allocations: 1.9 MB / 447.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2711, allocations: 8.031 kB / 447.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005241/0.2716, allocations: 176 kB / 448 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.2734, allocations: 0.9126 MB / 448.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/0.2734, allocations: 70.38 kB / 449 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.2736, allocations: 100.1 kB / 449.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.2761, allocations: 1.493 MB / 450.5 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.2761, allocations: 7.938 kB / 450.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.2762, allocations: 36 kB / 450.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.607e-05/0.2762, allocations: 45.98 kB / 450.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.2784, allocations: 1.296 MB / 451.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006208/0.2846, allocations: 3.776 MB / 455.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.2862, allocations: 0.9971 MB / 456.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/0.2875, allocations: 0.6774 MB / 457.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/0.2875, allocations: 8.656 kB / 457.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.2885, allocations: 0.6513 MB / 458 MB, free: 12.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.745e-06/0.2885, allocations: 0 / 458 MB, free: 12.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007506/0.296, allocations: 2.747 MB / 460.8 MB, free: 9.984 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.2961, allocations: 115.5 kB / 460.9 MB, free: 9.848 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.2972, allocations: 0.8051 MB / 461.7 MB, free: 9.031 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.299e-05/0.2973, allocations: 41.7 kB / 461.7 MB, free: 8.984 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000465/0.2978, allocations: 0.4929 MB / 462.2 MB, free: 8.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.298, allocations: 257.8 kB / 462.5 MB, free: 8.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.2982, allocations: 142.6 kB / 462.6 MB, free: 8.086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002169/0.2985, allocations: 394.6 kB / 463 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006446/0.2991, allocations: 397.7 kB / 463.4 MB, free: 7.305 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008048/0.2999, allocations: 0.5919 MB / 464 MB, free: 6.645 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.3013, allocations: 0.9132 MB / 464.9 MB, free: 5.676 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.3013, allocations: 8 kB / 464.9 MB, free: 5.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002218/0.3035, allocations: 1.286 MB / 466.2 MB, free: 4.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.3035, allocations: 4 kB / 466.2 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3035, allocations: 4 kB / 466.2 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.3047, allocations: 472.4 kB / 466.7 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.305, allocations: 91.83 kB / 466.8 MB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007523/0.3126, allocations: 5.387 MB / 472.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006019/0.3132, allocations: 79.64 kB / 472.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/0.3132, allocations: 28 kB / 472.3 MB, free: 14.21 MB / 382.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.0007392/0.314, allocations: 469.6 kB / 472.7 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.3141, allocations: 95.36 kB / 472.8 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.3143, allocations: 112.4 kB / 472.9 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.3143, allocations: 8 kB / 472.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3143, allocations: 0 / 472.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.3143, allocations: 3.984 kB / 472.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004045/0.3184, allocations: 2.29 MB / 475.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3184, allocations: 0 / 475.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.3187, allocations: 63.89 kB / 475.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/0.3197, allocations: 464.8 kB / 475.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.465e-05/0.3198, allocations: 20.12 kB / 475.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007587/0.3274, allocations: 5.321 MB / 481.1 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3274, allocations: 0 / 481.1 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003071/0.3305, allocations: 1.898 MB / 483 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005678/0.331, allocations: 203.2 kB / 483.2 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.3311, allocations: 15.94 kB / 483.2 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/0.3316, allocations: 47.89 kB / 483.2 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/0.3318, allocations: 72.5 kB / 483.3 MB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.487e-05/0.3319, allocations: 24 kB / 483.3 MB, free: 2.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008021/0.3327, allocations: 0.5771 MB / 483.9 MB, free: 2.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3327, allocations: 0 / 483.9 MB, free: 2.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001014/0.3337, allocations: 347.2 kB / 484.2 MB, free: 2.035 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.0001884/0.3339, allocations: 139.2 kB / 484.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002207/0.3361, allocations: 1.251 MB / 485.6 MB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3361, allocations: 0.875 kB / 485.6 MB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.3374, allocations: 0.7891 MB / 486.4 MB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.3385, allocations: 258.6 kB / 486.7 MB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/0.3426, allocations: 2.383 MB / 489.1 MB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007936/0.3434, allocations: 0.7119 MB / 489.8 MB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.3435, allocations: 51.44 kB / 489.8 MB, free: 12.36 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3435, allocations: 4 kB / 489.8 MB, free: 12.36 MB / 398.1 MB Notification: Performance of Templates: time 0.02645/0.37, allocations: 21.11 MB / 0.499 GB, free: 7.324 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.465829485008726]