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.001049/0.001049, allocations: 106.8 kB / 16.92 MB, free: 5.773 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.001153/0.001153, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.288/1.288, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 52.05 kB / 300.6 MB, free: 5.855 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.09274, allocations: 49.45 MB / 350.1 MB, free: 4.398 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006079/0.09885, allocations: 4.711 MB / 354.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.1016, allocations: 1.293 MB / 356.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000646/0.1023, allocations: 31.81 kB / 356.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008065/0.1031, allocations: 218.5 kB / 356.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.1042, allocations: 342 kB / 356.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.1047, allocations: 215.6 kB / 356.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.106, allocations: 1.526 MB / 358.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.1071, allocations: 0.9614 MB / 359.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007131/0.1078, allocations: 0.6386 MB / 360 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000956/0.1088, allocations: 0.7666 MB / 360.8 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00023/0.109, allocations: 164 kB / 360.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.1093, allocations: 164 kB / 361.1 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004131/0.1097, allocations: 430.8 kB / 361.5 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007002/0.1104, allocations: 0.7311 MB / 362.2 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.1121, allocations: 2.064 MB / 364.3 MB, free: 6.086 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1121, allocations: 0 / 364.3 MB, free: 6.086 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1121, allocations: 0 / 364.3 MB, free: 6.086 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.364e-05/0.1121, allocations: 0 / 364.3 MB, free: 6.086 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.002863/0.115, allocations: 1.638 MB / 365.9 MB, free: 4.391 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.115, allocations: 12.03 kB / 365.9 MB, free: 4.379 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.1153, allocations: 135.3 kB / 366.1 MB, free: 4.246 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.1166, allocations: 0.9111 MB / 367 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.6e-05/0.1166, allocations: 78.38 kB / 367.1 MB, free: 3.215 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.1168, allocations: 96.12 kB / 367.2 MB, free: 3.121 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.1189, allocations: 1.443 MB / 368.6 MB, free: 1.648 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.119, allocations: 7.906 kB / 368.6 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.1191, allocations: 43.94 kB / 368.7 MB, free: 1.598 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/0.1191, allocations: 42 kB / 368.7 MB, free: 1.555 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.1211, allocations: 1.288 MB / 370 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1575/0.2786, allocations: 4.339 MB / 374.3 MB, free: 23.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.2802, allocations: 1.969 MB / 376.3 MB, free: 21.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008397/0.2811, allocations: 0.6143 MB / 376.9 MB, free: 21.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.2811, allocations: 7.531 kB / 376.9 MB, free: 21.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009083/0.282, allocations: 0.5954 MB / 377.5 MB, free: 21.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.114e-06/0.2821, allocations: 0 / 377.5 MB, free: 21.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.006863/0.2889, allocations: 2.745 MB / 380.3 MB, free: 20.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.289, allocations: 115.3 kB / 380.4 MB, free: 20.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.2901, allocations: 0.8241 MB / 381.2 MB, free: 19.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.533e-05/0.2902, allocations: 43.23 kB / 381.2 MB, free: 19.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/0.2906, allocations: 483.8 kB / 381.7 MB, free: 19.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.2907, allocations: 247.4 kB / 381.9 MB, free: 19.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.2909, allocations: 134.1 kB / 382.1 MB, free: 19.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2911, allocations: 395.2 kB / 382.5 MB, free: 18.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005798/0.2917, allocations: 394.3 kB / 382.8 MB, free: 18.81 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000635/0.2923, allocations: 0.5451 MB / 383.4 MB, free: 18.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.2935, allocations: 0.9188 MB / 384.3 MB, free: 17.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.2935, allocations: 1.062 kB / 384.3 MB, free: 17.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001918/0.2954, allocations: 1.309 MB / 385.6 MB, free: 17.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.2955, allocations: 5.719 kB / 385.6 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2955, allocations: 4.438 kB / 385.6 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.2965, allocations: 485.1 kB / 386.1 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.2969, allocations: 96.11 kB / 386.2 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005939/0.3028, allocations: 5.59 MB / 391.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006472/0.3035, allocations: 89.12 kB / 391.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.3036, allocations: 23.5 kB / 391.9 MB, free: 12.87 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.000631/0.3042, allocations: 462.2 kB / 392.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.3044, allocations: 82.62 kB / 392.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.3046, allocations: 124.4 kB / 392.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3046, allocations: 5.969 kB / 392.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3046, allocations: 1.719 kB / 392.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.3046, allocations: 3.984 kB / 392.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003533/0.3082, allocations: 2.605 MB / 395.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3082, allocations: 3.719 kB / 395.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.3085, allocations: 61.52 kB / 395.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009808/0.3095, allocations: 474.3 kB / 395.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.784e-05/0.3096, allocations: 15.81 kB / 395.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006674/0.3162, allocations: 5.521 MB / 401.2 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3163, allocations: 4.625 kB / 401.2 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00313/0.3194, allocations: 1.911 MB / 403.1 MB, free: 3.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/0.3201, allocations: 279.8 kB / 403.4 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.3203, allocations: 12 kB / 403.4 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007326/0.321, allocations: 39.95 kB / 403.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002985/0.3213, allocations: 72.55 kB / 403.5 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.412e-05/0.3214, allocations: 28 kB / 403.6 MB, free: 3.066 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001078/0.3225, allocations: 0.5926 MB / 404.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3225, allocations: 0 / 404.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001712/0.3242, allocations: 343.1 kB / 404.5 MB, free: 2.145 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 (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.0003177/0.3246, allocations: 137 kB / 404.6 MB, free: 2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003863/0.3285, allocations: 1.43 MB / 406.1 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.3285, allocations: 4.312 kB / 406.1 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001826/0.3303, allocations: 0.8232 MB / 406.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.3325, allocations: 275.5 kB / 407.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006557/0.3391, allocations: 2.355 MB / 409.5 MB, free: 13.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/0.3404, allocations: 1.322 MB / 410.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006784/0.3411, allocations: 143.3 kB / 411 MB, free: 11.6 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.3414, allocations: 59.42 kB / 411 MB, free: 11.54 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3414, allocations: 0 / 411 MB, free: 11.54 MB / 318.1 MB Notification: Performance of Templates: time 0.04801/0.3894, allocations: 19.57 MB / 430.6 MB, free: 8.246 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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