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.001873/0.001873, allocations: 99.64 kB / 21.18 MB, free: 0.6445 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.002386/0.002386, allocations: 213.1 kB / 24.48 MB, free: 3.93 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.472/1.472, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.001687/0.001687, allocations: 55.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2388, 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.006442/0.2453, allocations: 4.343 MB / 436.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.2482, allocations: 1.328 MB / 438 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004528/0.2486, allocations: 35.75 kB / 438.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006809/0.2493, allocations: 222.4 kB / 438.3 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009203/0.2502, allocations: 377.9 kB / 438.6 MB, free: 432 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.2507, allocations: 231.6 kB / 438.9 MB, free: 200 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00176/0.2525, allocations: 1.549 MB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008015/0.2533, allocations: 0.5399 MB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008464/0.2541, allocations: 0.6658 MB / 441.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.2552, allocations: 0.7744 MB / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002255/0.2554, allocations: 164 kB / 442.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.2557, allocations: 172 kB / 442.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004285/0.2562, allocations: 442.7 kB / 443.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006801/0.2568, allocations: 0.599 MB / 443.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.2589, allocations: 2.117 MB / 445.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2589, allocations: 4 kB / 445.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2589, allocations: 0 / 445.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.304e-05/0.259, allocations: 0 / 445.9 MB, free: 9.137 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.003324/0.2623, allocations: 1.896 MB / 447.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2623, allocations: 8.031 kB / 447.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004935/0.2628, allocations: 180 kB / 448 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.2645, allocations: 0.9124 MB / 448.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.711e-05/0.2646, allocations: 78.38 kB / 448.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.2648, allocations: 100.1 kB / 449 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.2671, allocations: 1.489 MB / 450.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.2671, allocations: 0 / 450.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.2673, allocations: 44 kB / 450.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.253e-05/0.2673, allocations: 41.98 kB / 450.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/0.2695, allocations: 1.292 MB / 451.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00615/0.2756, allocations: 3.776 MB / 455.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.2772, allocations: 0.9955 MB / 456.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.2784, allocations: 0.6774 MB / 457.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.384e-05/0.2785, allocations: 8.656 kB / 457.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009817/0.2795, allocations: 0.6478 MB / 458 MB, free: 12.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.285e-06/0.2795, allocations: 0 / 458 MB, free: 12.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007254/0.2867, allocations: 2.755 MB / 460.8 MB, free: 10 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.203e-05/0.2868, allocations: 111.5 kB / 460.9 MB, free: 9.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.288, allocations: 0.8051 MB / 461.7 MB, free: 9.051 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.578e-05/0.288, allocations: 41.7 kB / 461.7 MB, free: 9.004 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/0.2885, allocations: 0.4929 MB / 462.2 MB, free: 8.504 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.2887, allocations: 257.9 kB / 462.5 MB, free: 8.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.289, allocations: 130.7 kB / 462.6 MB, free: 8.117 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.2892, allocations: 398.6 kB / 463 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006454/0.2898, allocations: 397.7 kB / 463.4 MB, free: 7.332 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007939/0.2906, allocations: 0.5957 MB / 464 MB, free: 6.664 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.292, allocations: 0.9132 MB / 464.9 MB, free: 5.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.292, allocations: 4 kB / 464.9 MB, free: 5.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002143/0.2941, allocations: 1.294 MB / 466.2 MB, free: 4.387 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.2941, allocations: 4.469 kB / 466.2 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.2941, allocations: 8 kB / 466.2 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.2952, allocations: 464.3 kB / 466.6 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.2956, allocations: 91.89 kB / 466.7 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007655/0.3033, allocations: 5.387 MB / 472.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006214/0.3039, allocations: 83.58 kB / 472.2 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.051e-05/0.304, allocations: 24 kB / 472.2 MB, free: 14.23 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.0007521/0.3047, allocations: 467.3 kB / 472.7 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.3049, allocations: 95.36 kB / 472.8 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.3052, allocations: 112.4 kB / 472.9 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.3052, allocations: 8 kB / 472.9 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3052, allocations: 0 / 472.9 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.3052, allocations: 3.984 kB / 472.9 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004256/0.3095, allocations: 2.294 MB / 475.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3095, allocations: 0 / 475.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.3098, allocations: 71.83 kB / 475.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.3108, allocations: 460.8 kB / 475.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.443e-05/0.3108, allocations: 12 kB / 475.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00753/0.3184, allocations: 5.329 MB / 481.1 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3184, allocations: 0 / 481.1 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003086/0.3214, allocations: 1.894 MB / 483 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006207/0.3221, allocations: 203.3 kB / 483.1 MB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.3222, allocations: 16 kB / 483.2 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004524/0.3227, allocations: 43.89 kB / 483.2 MB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.3229, allocations: 76.5 kB / 483.3 MB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/0.3229, allocations: 20 kB / 483.3 MB, free: 2.969 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008588/0.3238, allocations: 0.5732 MB / 483.9 MB, free: 2.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3238, allocations: 4 kB / 483.9 MB, free: 2.395 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001056/0.3248, allocations: 351.2 kB / 484.2 MB, free: 2.051 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.0001967/0.325, allocations: 129.3 kB / 484.3 MB, free: 1.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002312/0.3274, allocations: 1.251 MB / 485.6 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3274, allocations: 0 / 485.6 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.3287, allocations: 0.7975 MB / 486.4 MB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.3298, allocations: 262.8 kB / 486.7 MB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006438/0.3363, allocations: 2.375 MB / 489 MB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/0.3376, allocations: 0.7119 MB / 489.7 MB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.3379, allocations: 55.44 kB / 489.8 MB, free: 12.38 MB / 398.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3379, allocations: 0 / 489.8 MB, free: 12.38 MB / 398.1 MB Notification: Performance of Templates: time 0.04424/0.3821, allocations: 21.1 MB / 0.4989 GB, free: 7.348 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.405822668690234]