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.00183/0.00183, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001432/0.001432, allocations: 213.9 kB / 24.48 MB, free: 3.941 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.423/1.423, allocations: 230.6 MB / 258.2 MB, free: 7.73 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.002414/0.002414, allocations: 43.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2401, allocations: 53.37 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00611/0.2462, allocations: 4.339 MB / 436.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.2485, allocations: 1.328 MB / 438 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.2488, allocations: 35.75 kB / 438.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.2494, allocations: 218.4 kB / 438.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007812/0.2502, allocations: 381.9 kB / 438.6 MB, free: 392 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.2506, allocations: 227.6 kB / 438.9 MB, free: 164 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001643/0.2522, allocations: 1.541 MB / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007964/0.253, allocations: 0.5633 MB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007081/0.2537, allocations: 0.6697 MB / 441.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000944/0.2547, allocations: 0.7861 MB / 442.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002196/0.2549, allocations: 164 kB / 442.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.2552, allocations: 168 kB / 442.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004232/0.2556, allocations: 446.8 kB / 443.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006246/0.2562, allocations: 0.5873 MB / 443.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.2583, allocations: 2.121 MB / 445.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2583, allocations: 0 / 445.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2583, allocations: 0 / 445.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.2583, allocations: 0 / 445.9 MB, free: 9.082 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.00327/0.2616, allocations: 1.906 MB / 447.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2616, allocations: 12.03 kB / 447.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00051/0.2621, allocations: 168 kB / 448 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.2638, allocations: 0.9164 MB / 448.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.2638, allocations: 70.38 kB / 449 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.264, allocations: 104.1 kB / 449.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.2664, allocations: 1.497 MB / 450.6 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.2664, allocations: 3.984 kB / 450.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.2665, allocations: 40 kB / 450.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-05/0.2666, allocations: 42 kB / 450.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.2688, allocations: 1.292 MB / 451.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006134/0.2749, allocations: 3.784 MB / 455.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.2766, allocations: 0.9955 MB / 456.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.2778, allocations: 0.6767 MB / 457.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.2779, allocations: 8.656 kB / 457.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.2789, allocations: 0.6517 MB / 458.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.295e-06/0.2789, allocations: 0 / 458.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.00765/0.2865, allocations: 2.747 MB / 460.8 MB, free: 9.934 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/0.2866, allocations: 115.5 kB / 460.9 MB, free: 9.797 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.2877, allocations: 0.8051 MB / 461.7 MB, free: 8.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.281e-05/0.2877, allocations: 41.69 kB / 461.8 MB, free: 8.934 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.2882, allocations: 0.4968 MB / 462.3 MB, free: 8.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/0.2884, allocations: 253.9 kB / 462.5 MB, free: 8.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.2886, allocations: 134.7 kB / 462.6 MB, free: 8.043 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.2888, allocations: 394.7 kB / 463 MB, free: 7.648 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006537/0.2895, allocations: 397.7 kB / 463.4 MB, free: 7.262 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00082/0.2903, allocations: 0.5957 MB / 464 MB, free: 6.598 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.2917, allocations: 0.9132 MB / 464.9 MB, free: 5.629 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.2917, allocations: 4 kB / 464.9 MB, free: 5.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002132/0.2939, allocations: 1.286 MB / 466.2 MB, free: 4.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2939, allocations: 8 kB / 466.2 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.2939, allocations: 4 kB / 466.2 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.295, allocations: 472.4 kB / 466.7 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.2954, allocations: 95.81 kB / 466.8 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007782/0.3032, allocations: 5.379 MB / 472.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/0.3037, allocations: 79.64 kB / 472.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.3037, allocations: 28 kB / 472.3 MB, free: 14.16 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.0006139/0.3043, allocations: 463.2 kB / 472.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.3045, allocations: 95.38 kB / 472.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.3047, allocations: 112.4 kB / 472.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.3047, allocations: 11.94 kB / 472.9 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.3047, allocations: 0 / 472.9 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3047, allocations: 3.984 kB / 472.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003999/0.3087, allocations: 2.294 MB / 475.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3087, allocations: 128 / 475.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.309, allocations: 67.84 kB / 475.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.3101, allocations: 464.8 kB / 475.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.271e-05/0.3101, allocations: 19.98 kB / 475.8 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007363/0.3175, allocations: 5.313 MB / 481.1 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3175, allocations: 4 kB / 481.1 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.3204, allocations: 1.894 MB / 483 MB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/0.3208, allocations: 207.2 kB / 483.2 MB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.321, allocations: 15.94 kB / 483.2 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.3214, allocations: 43.89 kB / 483.2 MB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.3216, allocations: 80.5 kB / 483.3 MB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.3216, allocations: 23.98 kB / 483.3 MB, free: 2.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007296/0.3223, allocations: 0.5693 MB / 483.9 MB, free: 2.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3223, allocations: 0 / 483.9 MB, free: 2.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009011/0.3232, allocations: 351.2 kB / 484.3 MB, free: 1.988 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.0001779/0.3234, allocations: 135.2 kB / 484.4 MB, free: 1.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002099/0.3255, allocations: 1.256 MB / 485.6 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3255, allocations: 4.062 kB / 485.6 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.3268, allocations: 0.7851 MB / 486.4 MB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.3279, allocations: 254.7 kB / 486.7 MB, free: 15.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.3317, allocations: 2.367 MB / 489 MB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008126/0.3325, allocations: 0.7458 MB / 489.8 MB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003482/0.3329, allocations: 143.1 kB / 489.9 MB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.333, allocations: 55.44 kB / 490 MB, free: 12.15 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.333, allocations: 3.938 kB / 490 MB, free: 12.15 MB / 398.1 MB Notification: Performance of Templates: time 0.03111/0.3641, allocations: 20.08 MB / 0.4981 GB, free: 8.398 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 -s gbode -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: 5.0901250099996105]