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.001649/0.001649, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001886/0.001886, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 59.66 kB / 307 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1058, allocations: 50.53 MB / 357.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006652/0.1125, allocations: 4.763 MB / 362.3 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002795/0.1154, allocations: 1.367 MB / 363.7 MB, free: 7.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003233/0.1157, allocations: 31.81 kB / 363.7 MB, free: 7.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006547/0.1164, allocations: 214.4 kB / 363.9 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007446/0.1172, allocations: 346 kB / 364.2 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.1176, allocations: 227.6 kB / 364.5 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.1191, allocations: 1.561 MB / 366 MB, free: 5.469 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.1203, allocations: 0.9771 MB / 367 MB, free: 4.461 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008713/0.1212, allocations: 0.6542 MB / 367.7 MB, free: 3.805 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009834/0.1222, allocations: 0.7588 MB / 368.4 MB, free: 3.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002273/0.1224, allocations: 164 kB / 368.6 MB, free: 2.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000294/0.1227, allocations: 172 kB / 368.7 MB, free: 2.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004119/0.1232, allocations: 438.8 kB / 369.2 MB, free: 2.285 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008319/0.124, allocations: 0.735 MB / 369.9 MB, free: 1.547 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2276/0.3516, allocations: 2.073 MB / 372 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.3517, allocations: 6.891 kB / 372 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.069e-05/0.3517, allocations: 0 / 372 MB, free: 12.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001388/0.3518, allocations: 0.5312 kB / 372 MB, free: 12.79 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.004561/0.3564, allocations: 1.652 MB / 373.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.217e-05/0.3565, allocations: 9.938 kB / 373.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007631/0.3573, allocations: 167 kB / 373.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.359, allocations: 0.9359 MB / 374.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.838e-05/0.3591, allocations: 74.48 kB / 374.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.3593, allocations: 98.25 kB / 374.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/0.362, allocations: 1.447 MB / 376.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.3621, allocations: 5.625 kB / 376.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.3622, allocations: 43.95 kB / 376.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.269e-05/0.3623, allocations: 40.8 kB / 376.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.3646, allocations: 1.296 MB / 377.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006852/0.3715, allocations: 4.349 MB / 382.1 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.3735, allocations: 1.963 MB / 384.1 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.3745, allocations: 0.6151 MB / 384.7 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/0.3746, allocations: 10.66 kB / 384.7 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.3756, allocations: 0.5952 MB / 385.3 MB, free: 7.168 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 3.497e-06/0.3756, allocations: 0 / 385.3 MB, free: 7.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.006954/0.3826, allocations: 2.745 MB / 388 MB, free: 6.367 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.3827, allocations: 115.3 kB / 388.1 MB, free: 6.242 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.384, allocations: 0.8462 MB / 389 MB, free: 5.824 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.893e-05/0.384, allocations: 37.83 kB / 389 MB, free: 5.785 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003868/0.3844, allocations: 0.4922 MB / 389.5 MB, free: 5.355 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.3846, allocations: 239.4 kB / 389.8 MB, free: 5.156 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.3848, allocations: 137.8 kB / 389.9 MB, free: 5.074 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.702e-05/0.3849, allocations: 333.5 kB / 390.2 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006057/0.3855, allocations: 391 kB / 390.6 MB, free: 4.551 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007101/0.3863, allocations: 0.5478 MB / 391.1 MB, free: 4.156 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.3875, allocations: 0.9149 MB / 392.1 MB, free: 3.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3875, allocations: 1.375 kB / 392.1 MB, free: 3.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002049/0.3896, allocations: 1.318 MB / 393.4 MB, free: 2.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.3896, allocations: 8.312 kB / 393.4 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3897, allocations: 8.109 kB / 393.4 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.3907, allocations: 471.5 kB / 393.9 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.3911, allocations: 100.4 kB / 394 MB, free: 2.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006706/0.3978, allocations: 5.601 MB / 399.6 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008398/0.3987, allocations: 83.23 kB / 399.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.3987, allocations: 22.88 kB / 399.7 MB, free: 14.59 MB / 318.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.0008405/0.3996, allocations: 471.5 kB / 400.1 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.3998, allocations: 90.52 kB / 400.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.4, allocations: 116.4 kB / 400.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/0.4, allocations: 6.938 kB / 400.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.4, allocations: 0 / 400.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.4, allocations: 3.984 kB / 400.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004647/0.4047, allocations: 2.618 MB / 402.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.4047, allocations: 4 kB / 403 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.405, allocations: 63.81 kB / 403 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/0.4061, allocations: 460.7 kB / 403.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.984e-05/0.4062, allocations: 15.98 kB / 403.5 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007845/0.414, allocations: 5.527 MB / 409 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4141, allocations: 0 / 409 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003211/0.4173, allocations: 1.914 MB / 410.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006427/0.4179, allocations: 271.8 kB / 411.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002511/0.4182, allocations: 19.94 kB / 411.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005177/0.4187, allocations: 39.95 kB / 411.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002595/0.419, allocations: 72.55 kB / 411.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/0.4191, allocations: 20.11 kB / 411.3 MB, free: 3.699 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001012/0.4201, allocations: 0.6083 MB / 411.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4201, allocations: 2.625 kB / 411.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001256/0.4214, allocations: 339.1 kB / 412.3 MB, free: 2.766 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.0002566/0.4216, allocations: 135.1 kB / 412.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003005/0.4246, allocations: 1.424 MB / 413.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.4247, allocations: 192 / 413.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.4261, allocations: 0.8288 MB / 414.7 MB, free: 388 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.4275, allocations: 280.2 kB / 414.9 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005106/0.4326, allocations: 2.374 MB / 417.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/0.4341, allocations: 1.329 MB / 418.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005787/0.4347, allocations: 147.4 kB / 418.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.4349, allocations: 51.44 kB / 418.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4349, allocations: 0 / 418.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of Templates: time 0.03827/0.4732, allocations: 19.67 MB / 438.5 MB, free: 8.746 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/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