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.001279/0.001279, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001366/0.001366, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.384/1.384, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.001526/0.001526, allocations: 51.92 kB / 379.1 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2286, allocations: 53.37 MB / 432.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006272/0.2349, allocations: 4.811 MB / 437.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002556/0.2374, allocations: 1.375 MB / 438.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003186/0.2378, allocations: 35.75 kB / 438.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006355/0.2384, allocations: 226.4 kB / 438.9 MB, free: 444 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007715/0.2392, allocations: 378 kB / 439.2 MB, free: 64 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.2396, allocations: 235.5 kB / 439.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.2412, allocations: 1.545 MB / 441 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007599/0.2419, allocations: 0.5594 MB / 441.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007495/0.2427, allocations: 0.6659 MB / 442.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009708/0.2436, allocations: 0.7822 MB / 443 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001911/0.2438, allocations: 168 kB / 443.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.2441, allocations: 168 kB / 443.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003958/0.2445, allocations: 442.7 kB / 443.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007127/0.2452, allocations: 0.7388 MB / 444.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.2472, allocations: 2.104 MB / 446.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2472, allocations: 4 kB / 446.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2472, allocations: 0 / 446.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.2473, allocations: 0 / 446.6 MB, free: 8.621 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.00329/0.2505, allocations: 1.904 MB / 448.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.2506, allocations: 8.031 kB / 448.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005056/0.2511, allocations: 172 kB / 448.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.2527, allocations: 0.9125 MB / 449.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-05/0.2527, allocations: 74.31 kB / 449.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.2529, allocations: 104.1 kB / 449.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/0.2553, allocations: 1.443 MB / 451.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.2553, allocations: 0 / 451.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.2554, allocations: 40 kB / 451.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.575e-05/0.2555, allocations: 41.98 kB / 451.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.2577, allocations: 1.3 MB / 452.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00648/0.2641, allocations: 4.251 MB / 456.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.2658, allocations: 1.005 MB / 457.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/0.267, allocations: 0.6853 MB / 458.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.45e-05/0.2671, allocations: 12.59 kB / 458.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009414/0.268, allocations: 0.5898 MB / 459.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.274e-06/0.268, allocations: 4 kB / 459.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007247/0.2753, allocations: 2.759 MB / 461.9 MB, free: 9.094 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.361e-05/0.2753, allocations: 111.5 kB / 462 MB, free: 8.961 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.2765, allocations: 0.8442 MB / 462.9 MB, free: 8.105 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.409e-05/0.2766, allocations: 41.7 kB / 462.9 MB, free: 8.059 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004666/0.277, allocations: 0.4968 MB / 463.4 MB, free: 7.555 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.2773, allocations: 253.9 kB / 463.7 MB, free: 7.305 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.2775, allocations: 142.6 kB / 463.8 MB, free: 7.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2777, allocations: 334 kB / 464.1 MB, free: 6.828 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006548/0.2783, allocations: 389.7 kB / 464.5 MB, free: 6.449 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007864/0.2791, allocations: 0.5494 MB / 465 MB, free: 5.844 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.2805, allocations: 0.9093 MB / 466 MB, free: 4.879 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.2805, allocations: 4 kB / 466 MB, free: 4.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002156/0.2826, allocations: 1.294 MB / 467.3 MB, free: 3.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.2826, allocations: 7.938 kB / 467.3 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2827, allocations: 4.047 kB / 467.3 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.2838, allocations: 476.4 kB / 467.7 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/0.2841, allocations: 87.89 kB / 467.8 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007612/0.2917, allocations: 5.48 MB / 473.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000628/0.2923, allocations: 87.52 kB / 473.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-05/0.2924, allocations: 31.98 kB / 473.4 MB, free: 13.29 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.0007455/0.2931, allocations: 463.2 kB / 473.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.2933, allocations: 95.39 kB / 474 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.2935, allocations: 120.7 kB / 474.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.2936, allocations: 8 kB / 474.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2936, allocations: 0 / 474.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.2936, allocations: 3.984 kB / 474.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/0.2977, allocations: 2.563 MB / 476.7 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2977, allocations: 0 / 476.7 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.298, allocations: 63.91 kB / 476.7 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009666/0.299, allocations: 461.1 kB / 477.2 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.299, allocations: 15.98 kB / 477.2 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007285/0.3063, allocations: 5.434 MB / 482.6 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.3063, allocations: 3.938 kB / 482.6 MB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004151/0.3104, allocations: 1.902 MB / 484.5 MB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008258/0.3113, allocations: 199.3 kB / 484.7 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.3115, allocations: 12 kB / 484.7 MB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006672/0.3121, allocations: 47.89 kB / 484.8 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/0.3124, allocations: 84.44 kB / 484.9 MB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.15e-05/0.3125, allocations: 20 kB / 484.9 MB, free: 1.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001252/0.3137, allocations: 0.6005 MB / 485.5 MB, free: 1.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3137, allocations: 0 / 485.5 MB, free: 1.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001585/0.3153, allocations: 351.2 kB / 485.8 MB, free: 0.6719 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.0002458/0.3156, allocations: 132.5 kB / 485.9 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003259/0.3188, allocations: 1.248 MB / 487.2 MB, free: 15.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/0.3188, allocations: 4.25 kB / 487.2 MB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001926/0.3208, allocations: 0.7928 MB / 488 MB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.3226, allocations: 281.6 kB / 488.3 MB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006148/0.3287, allocations: 2.387 MB / 490.7 MB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/0.3303, allocations: 1.3 MB / 492 MB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/0.3306, allocations: 63.42 kB / 492 MB, free: 10.39 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3306, allocations: 0 / 492 MB, free: 10.39 MB / 398.1 MB Notification: Performance of Templates: time 0.03982/0.3704, allocations: 20.99 MB / 0.501 GB, free: 5.48 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: 8.811709475005046]