Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008497/0.0008498, allocations: 94.73 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008844/0.0008846, allocations: 182.2 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 223.2 MB / 241.1 MB, free: 14.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002278/0.0002278, allocations: 11.94 kB / 300.7 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08173/0.08198, allocations: 50.42 MB / 351.2 MB, free: 3.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004243/0.08626, allocations: 3.851 MB / 355 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.08814, allocations: 1.27 MB / 356.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.0884, allocations: 27.81 kB / 356.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.08889, allocations: 175.1 kB / 356.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006077/0.0895, allocations: 311 kB / 356.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.0898, allocations: 135.7 kB / 356.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009848/0.09079, allocations: 0.9238 MB / 357.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008454/0.09165, allocations: 0.686 MB / 358.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004704/0.09213, allocations: 442.4 kB / 359 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005663/0.09271, allocations: 0.5291 MB / 359.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.838e-05/0.09281, allocations: 64 kB / 359.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.09296, allocations: 64 kB / 359.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.09322, allocations: 307 kB / 359.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.09344, allocations: 277.1 kB / 360.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.09479, allocations: 1.64 MB / 361.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.0948, allocations: 0 / 361.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.09481, allocations: 0 / 361.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.605e-05/0.09485, allocations: 0 / 361.8 MB, free: 9.062 MB / 302.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.002725/0.09758, allocations: 1.432 MB / 363.3 MB, free: 7.578 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.09763, allocations: 8.031 kB / 363.3 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.09786, allocations: 142.3 kB / 363.4 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.09927, allocations: 0.8792 MB / 364.3 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.554e-05/0.09933, allocations: 78 kB / 364.4 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.09949, allocations: 99.94 kB / 364.5 MB, free: 6.336 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.1017, allocations: 1.431 MB / 365.9 MB, free: 4.871 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.1017, allocations: 7.938 kB / 365.9 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.875e-05/0.1018, allocations: 39.98 kB / 365.9 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.462e-05/0.1019, allocations: 45.95 kB / 366 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.1039, allocations: 1.3 MB / 367.3 MB, free: 3.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1736/0.2775, allocations: 4.354 MB / 371.6 MB, free: 22.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.2794, allocations: 1.96 MB / 373.6 MB, free: 21.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-05/0.2794, allocations: 13.42 kB / 373.6 MB, free: 21.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009509/0.2804, allocations: 0.5969 MB / 374.2 MB, free: 20.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 3.035e-06/0.2804, allocations: 0 / 374.2 MB, free: 20.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.006953/0.2874, allocations: 2.76 MB / 377 MB, free: 20.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.2874, allocations: 112.4 kB / 377.1 MB, free: 20.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.2885, allocations: 0.8176 MB / 377.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.2886, allocations: 42.38 kB / 377.9 MB, free: 20.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.289, allocations: 493.8 kB / 378.4 MB, free: 19.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.2891, allocations: 238.8 kB / 378.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.2892, allocations: 18.81 kB / 378.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.2893, allocations: 396.1 kB / 379.1 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009088/0.2902, allocations: 395.3 kB / 379.4 MB, free: 19.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007486/0.291, allocations: 0.5416 MB / 380 MB, free: 18.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007401/0.2917, allocations: 448.7 kB / 380.4 MB, free: 18.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.2918, allocations: 5.266 kB / 380.4 MB, free: 18.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002316/0.2941, allocations: 1.322 MB / 381.7 MB, free: 18.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.2941, allocations: 6.859 kB / 381.8 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.2941, allocations: 3.594 kB / 381.8 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.2952, allocations: 480.1 kB / 382.2 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.2956, allocations: 91.38 kB / 382.3 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00631/0.302, allocations: 5.295 MB / 387.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005773/0.3026, allocations: 84.77 kB / 387.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.3026, allocations: 36.36 kB / 387.7 MB, free: 14.75 MB / 302.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 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0006357/0.3033, allocations: 461.8 kB / 388.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.3034, allocations: 84.94 kB / 388.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001978/0.3036, allocations: 116.1 kB / 388.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.3036, allocations: 7.219 kB / 388.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3036, allocations: 1.406 kB / 388.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.3036, allocations: 3.984 kB / 388.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003693/0.3073, allocations: 2.62 MB / 391 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.3073, allocations: 11.88 kB / 391 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/0.3076, allocations: 65.48 kB / 391.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008079/0.3084, allocations: 458.4 kB / 391.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.3085, allocations: 19.86 kB / 391.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005647/0.3141, allocations: 5.241 MB / 396.8 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.3142, allocations: 3.828 kB / 396.8 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.3164, allocations: 1.917 MB / 398.7 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/0.3168, allocations: 272.3 kB / 399 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.3169, allocations: 19.94 kB / 399 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.3173, allocations: 51.91 kB / 399 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.3175, allocations: 76.53 kB / 399.1 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.3175, allocations: 16 kB / 399.1 MB, free: 7.145 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006415/0.3182, allocations: 0.581 MB / 399.7 MB, free: 6.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3182, allocations: 0 / 399.7 MB, free: 6.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009411/0.3191, allocations: 347 kB / 400.1 MB, free: 6.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001717/0.3193, allocations: 137.2 kB / 400.2 MB, free: 6.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002015/0.3213, allocations: 1.281 MB / 401.5 MB, free: 4.797 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3213, allocations: 0 / 401.5 MB, free: 4.797 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.3224, allocations: 0.825 MB / 402.3 MB, free: 3.961 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.3235, allocations: 244.7 kB / 402.5 MB, free: 3.727 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004045/0.3275, allocations: 2.715 MB / 405.3 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009508/0.3285, allocations: 1.345 MB / 406.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004417/0.329, allocations: 139.3 kB / 406.7 MB, free: 15.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.3292, allocations: 55.42 kB / 406.8 MB, free: 15.43 MB / 318.1 MB Notification: Performance of SimCode: time 1.313e-06/0.3292, allocations: 0 / 406.8 MB, free: 15.43 MB / 318.1 MB Notification: Performance of Templates: time 0.0283/0.3575, allocations: 17.74 MB / 424.5 MB, free: 13.93 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches