Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.001326/0.001326, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001469/0.001469, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.434/1.434, allocations: 230.5 MB / 258.1 MB, free: 7.801 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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 59.91 kB / 379 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2298, allocations: 53.41 MB / 432.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006356/0.2361, allocations: 4.343 MB / 436.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002765/0.2389, allocations: 1.324 MB / 438.1 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003663/0.2393, allocations: 31.75 kB / 438.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006503/0.2399, allocations: 226.4 kB / 438.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000876/0.2408, allocations: 373.9 kB / 438.7 MB, free: 232 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.2412, allocations: 227.6 kB / 438.9 MB, free: 4 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001788/0.243, allocations: 1.557 MB / 440.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008365/0.2439, allocations: 0.5477 MB / 441 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008768/0.2447, allocations: 0.6775 MB / 441.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.2459, allocations: 0.7743 MB / 442.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002476/0.2461, allocations: 168 kB / 442.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.2465, allocations: 171.9 kB / 442.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004494/0.2469, allocations: 442.8 kB / 443.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006888/0.2476, allocations: 0.5834 MB / 443.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.2498, allocations: 2.128 MB / 446 MB, free: 8.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.2499, allocations: 4 kB / 446 MB, free: 8.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2499, allocations: 4 kB / 446 MB, free: 8.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.62e-05/0.2499, allocations: 0 / 446 MB, free: 8.914 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.003636/0.2535, allocations: 1.899 MB / 447.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2536, allocations: 11.98 kB / 447.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005059/0.2541, allocations: 180 kB / 448 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.2558, allocations: 0.9086 MB / 449 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.884e-05/0.2559, allocations: 74.38 kB / 449 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.256, allocations: 100.1 kB / 449.1 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/0.2585, allocations: 1.501 MB / 450.6 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.2586, allocations: 0 / 450.6 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.2587, allocations: 43.98 kB / 450.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.754e-05/0.2587, allocations: 41.98 kB / 450.7 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.261, allocations: 1.292 MB / 452 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006352/0.2673, allocations: 3.772 MB / 455.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.269, allocations: 1.002 MB / 456.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.2702, allocations: 0.6806 MB / 457.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.2703, allocations: 4.656 kB / 457.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009981/0.2713, allocations: 0.6439 MB / 458.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.515e-06/0.2713, allocations: 0 / 458.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007384/0.2787, allocations: 2.755 MB / 460.9 MB, free: 9.773 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/0.2787, allocations: 119.5 kB / 461 MB, free: 9.633 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.2799, allocations: 0.8011 MB / 461.8 MB, free: 8.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.638e-05/0.28, allocations: 41.7 kB / 461.8 MB, free: 8.773 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/0.2804, allocations: 0.4929 MB / 462.3 MB, free: 8.273 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.2806, allocations: 253.9 kB / 462.6 MB, free: 8.023 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.2809, allocations: 134.7 kB / 462.7 MB, free: 7.887 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.2811, allocations: 398.7 kB / 463.1 MB, free: 7.488 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006487/0.2817, allocations: 389.7 kB / 463.5 MB, free: 7.109 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000819/0.2825, allocations: 0.6035 MB / 464.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.2839, allocations: 0.9093 MB / 465 MB, free: 5.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2839, allocations: 0 / 465 MB, free: 5.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002164/0.2861, allocations: 1.294 MB / 466.3 MB, free: 4.168 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.2861, allocations: 8 kB / 466.3 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.2861, allocations: 7.938 kB / 466.3 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.2872, allocations: 472.8 kB / 466.7 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.2876, allocations: 91.83 kB / 466.8 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007505/0.2951, allocations: 5.38 MB / 472.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006157/0.2957, allocations: 83.64 kB / 472.3 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.2957, allocations: 27.98 kB / 472.3 MB, free: 14 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.0007068/0.2964, allocations: 459.2 kB / 472.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.2966, allocations: 91.38 kB / 472.9 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.2968, allocations: 116.4 kB / 473 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.2968, allocations: 8 kB / 473 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2968, allocations: 4 kB / 473 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.2968, allocations: 7.922 kB / 473 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004021/0.3009, allocations: 2.294 MB / 475.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3009, allocations: 7.938 kB / 475.3 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.3012, allocations: 63.89 kB / 475.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.3022, allocations: 464.3 kB / 475.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/0.3022, allocations: 12 kB / 475.8 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007292/0.3095, allocations: 5.317 MB / 481.1 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3095, allocations: 4 kB / 481.1 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002964/0.3125, allocations: 1.89 MB / 483 MB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005615/0.313, allocations: 203.3 kB / 483.2 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.3131, allocations: 12 kB / 483.2 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.3136, allocations: 47.89 kB / 483.3 MB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.3137, allocations: 72.52 kB / 483.4 MB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.894e-05/0.3138, allocations: 24.08 kB / 483.4 MB, free: 2.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007806/0.3146, allocations: 0.5732 MB / 484 MB, free: 2.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3146, allocations: 0 / 484 MB, free: 2.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009938/0.3156, allocations: 347.2 kB / 484.3 MB, free: 1.84 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.0002023/0.3158, allocations: 142.5 kB / 484.4 MB, free: 1.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002261/0.318, allocations: 1.255 MB / 485.7 MB, free: 436 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.318, allocations: 0 / 485.7 MB, free: 436 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.3194, allocations: 0.7897 MB / 486.5 MB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.3204, allocations: 258.7 kB / 486.7 MB, free: 15.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.3246, allocations: 2.376 MB / 489.1 MB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008215/0.3255, allocations: 0.7158 MB / 489.8 MB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.3256, allocations: 51.44 kB / 489.9 MB, free: 12.16 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3256, allocations: 0 / 489.9 MB, free: 12.16 MB / 398.1 MB Notification: Performance of Templates: time 0.0279/0.3535, allocations: 21.12 MB / 0.499 GB, free: 7.098 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.244530241936445]