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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=1000,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=1000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001464/0.001464, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001669/0.001669, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.56 kB / 306.9 MB, free: 1.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0886/0.08986, allocations: 50.53 MB / 357.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006051/0.09595, allocations: 4.78 MB / 362.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.09863, allocations: 1.34 MB / 363.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006278/0.09932, allocations: 27.88 kB / 363.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007708/0.1001, allocations: 178.9 kB / 363.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.1012, allocations: 334.3 kB / 364.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005085/0.1017, allocations: 187.8 kB / 364.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002111/0.1038, allocations: 1.783 MB / 366.1 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.105, allocations: 0.8222 MB / 366.9 MB, free: 4.973 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007726/0.1058, allocations: 0.537 MB / 367.4 MB, free: 4.434 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.1068, allocations: 0.7197 MB / 368.1 MB, free: 3.711 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002678/0.1071, allocations: 92 kB / 368.2 MB, free: 3.621 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003638/0.1075, allocations: 96 kB / 368.3 MB, free: 3.527 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003899/0.1079, allocations: 370.7 kB / 368.7 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000893/0.1088, allocations: 0.6452 MB / 369.3 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.1103, allocations: 1.703 MB / 371 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1103, allocations: 0 / 371 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1103, allocations: 4 kB / 371 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.474e-05/0.1104, allocations: 0 / 371 MB, free: 0.8047 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.1492/0.2595, allocations: 1.642 MB / 372.7 MB, free: 19.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2596, allocations: 10.56 kB / 372.7 MB, free: 19.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005123/0.2601, allocations: 170.4 kB / 372.9 MB, free: 19.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.2615, allocations: 0.9371 MB / 373.8 MB, free: 19.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.569e-05/0.2615, allocations: 70.09 kB / 373.9 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.2617, allocations: 98.17 kB / 374 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.264, allocations: 1.447 MB / 375.4 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.2641, allocations: 1.734 kB / 375.4 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.624e-05/0.2642, allocations: 45.09 kB / 375.5 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.152e-05/0.2642, allocations: 47.22 kB / 375.5 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.2662, allocations: 1.294 MB / 376.8 MB, free: 18.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00578/0.272, allocations: 4.345 MB / 381.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.2736, allocations: 1.969 MB / 383.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008436/0.2745, allocations: 0.614 MB / 383.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-05/0.2745, allocations: 14.3 kB / 383.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008931/0.2754, allocations: 0.5925 MB / 384.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.485e-06/0.2754, allocations: 4 kB / 384.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.006564/0.282, allocations: 2.74 MB / 387.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.2821, allocations: 120.5 kB / 387.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.2831, allocations: 0.843 MB / 388 MB, free: 12.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.26e-05/0.2832, allocations: 41.83 kB / 388.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.2834, allocations: 498 kB / 388.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.2836, allocations: 244.6 kB / 388.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.2838, allocations: 137.3 kB / 388.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.57e-05/0.2839, allocations: 337.9 kB / 389.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/0.2844, allocations: 396 kB / 389.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.285, allocations: 0.5406 MB / 390.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.2862, allocations: 0.9125 MB / 391.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2862, allocations: 1.25 kB / 391.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0019/0.2881, allocations: 1.326 MB / 392.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2881, allocations: 9.25 kB / 392.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.2881, allocations: 3.969 kB / 392.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009656/0.2891, allocations: 471.4 kB / 392.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.2894, allocations: 93.95 kB / 393 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005454/0.2949, allocations: 5.138 MB / 398.1 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.2955, allocations: 82.84 kB / 398.2 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.2955, allocations: 27.64 kB / 398.2 MB, free: 5.184 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 (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_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: 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.0005643/0.2961, allocations: 468.8 kB / 398.7 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.2962, allocations: 83.94 kB / 398.8 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.2964, allocations: 121.5 kB / 398.9 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.2964, allocations: 14.25 kB / 398.9 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.2965, allocations: 1.438 kB / 398.9 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.2965, allocations: 3.984 kB / 398.9 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/0.2997, allocations: 2.605 MB / 401.5 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.2997, allocations: 0 / 401.5 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.2999, allocations: 59.91 kB / 401.6 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008408/0.3008, allocations: 469 kB / 402 MB, free: 1.664 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/0.3008, allocations: 19.98 kB / 402.1 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006023/0.3069, allocations: 5.071 MB / 407.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3069, allocations: 0 / 407.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/0.3097, allocations: 1.911 MB / 409 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004729/0.3102, allocations: 271.8 kB / 409.3 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.3103, allocations: 23.92 kB / 409.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.3108, allocations: 43.89 kB / 409.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.311, allocations: 76.55 kB / 409.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/0.311, allocations: 16 kB / 409.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007781/0.3118, allocations: 0.6044 MB / 410.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3118, allocations: 0 / 410.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001039/0.3129, allocations: 343 kB / 410.4 MB, free: 9.133 MB / 318.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 (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.0001749/0.313, allocations: 130.7 kB / 410.5 MB, free: 9 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002216/0.3153, allocations: 1.274 MB / 411.8 MB, free: 7.715 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3153, allocations: 4 kB / 411.8 MB, free: 7.711 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.3165, allocations: 0.8087 MB / 412.6 MB, free: 6.891 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.3177, allocations: 270 kB / 412.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.3219, allocations: 2.829 MB / 415.7 MB, free: 3.773 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009283/0.3228, allocations: 1.304 MB / 417 MB, free: 2.445 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.323, allocations: 51.44 kB / 417.1 MB, free: 2.395 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.323, allocations: 0 / 417.1 MB, free: 2.395 MB / 318.1 MB Notification: Performance of Templates: time 0.02529/0.3483, allocations: 20.83 MB / 437.9 MB, free: 13.63 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (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) 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.0.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) Reference file matches