Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007705/0.0007705, allocations: 99.25 kB / 17.01 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009046/0.0009049, allocations: 196.5 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.7 MB / 246.4 MB, free: 9.805 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002128/0.0002128, allocations: 4 kB / 307.1 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0903/0.09053, allocations: 51.51 MB / 358.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004655/0.09522, allocations: 3.989 MB / 362.6 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.09794, allocations: 1.255 MB / 363.9 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004663/0.09843, allocations: 19.88 kB / 363.9 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.0988, allocations: 123.1 kB / 364 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009405/0.09975, allocations: 314.4 kB / 364.3 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.1002, allocations: 131.8 kB / 364.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001872/0.1021, allocations: 1.665 MB / 366.1 MB, free: 5.898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.1031, allocations: 0.7417 MB / 366.9 MB, free: 5.141 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008081/0.104, allocations: 0.5057 MB / 367.4 MB, free: 4.633 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.1051, allocations: 0.6926 MB / 368.1 MB, free: 3.938 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.1053, allocations: 76 kB / 368.1 MB, free: 3.863 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002549/0.1055, allocations: 72 kB / 368.2 MB, free: 3.793 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003176/0.1059, allocations: 354.8 kB / 368.6 MB, free: 3.445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002908/0.1062, allocations: 293 kB / 368.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.1076, allocations: 1.804 MB / 370.7 MB, free: 1.344 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1076, allocations: 0 / 370.7 MB, free: 1.344 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1076, allocations: 0 / 370.7 MB, free: 1.344 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.1077, allocations: 3.938 kB / 370.7 MB, free: 1.34 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.1639/0.2716, allocations: 1.57 MB / 372.2 MB, free: 18.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2716, allocations: 8.625 kB / 372.2 MB, free: 18.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000922/0.2725, allocations: 227.8 kB / 372.5 MB, free: 17.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.2743, allocations: 0.9604 MB / 373.4 MB, free: 17.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.393e-05/0.2745, allocations: 78.31 kB / 373.5 MB, free: 17.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.2746, allocations: 102.3 kB / 373.6 MB, free: 17.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003024/0.2777, allocations: 1.561 MB / 375.2 MB, free: 17.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.2777, allocations: 7.375 kB / 375.2 MB, free: 17.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.2778, allocations: 43.02 kB / 375.2 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.386e-05/0.2779, allocations: 43.08 kB / 375.2 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.2802, allocations: 1.453 MB / 376.7 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006599/0.2869, allocations: 4.995 MB / 381.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.2884, allocations: 1.462 MB / 383.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.2896, allocations: 0.7456 MB / 383.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.878e-05/0.2897, allocations: 8.562 kB / 383.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009778/0.2906, allocations: 0.6164 MB / 384.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.254e-06/0.2907, allocations: 0 / 384.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.00527/0.2959, allocations: 2.457 MB / 387 MB, free: 11.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.296, allocations: 89.84 kB / 387.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.2971, allocations: 0.9573 MB / 388 MB, free: 10.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.2971, allocations: 37.52 kB / 388.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.2974, allocations: 0.5369 MB / 388.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.2976, allocations: 235.3 kB / 388.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.2976, allocations: 15.41 kB / 388.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.228e-05/0.2977, allocations: 336.7 kB / 389.2 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006111/0.2983, allocations: 423 kB / 389.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006742/0.299, allocations: 0.5708 MB / 390.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/0.2997, allocations: 460.5 kB / 390.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2997, allocations: 1.031 kB / 390.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001945/0.3016, allocations: 1.312 MB / 391.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3017, allocations: 6.875 kB / 391.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.3017, allocations: 4.125 kB / 391.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007916/0.3025, allocations: 402.3 kB / 392.3 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.3029, allocations: 114.8 kB / 392.4 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004327/0.3073, allocations: 4.136 MB / 396.6 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.3078, allocations: 90.23 kB / 396.7 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.3079, allocations: 23.31 kB / 396.7 MB, free: 5.027 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 (59): * Single equations (assignments): 58 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.00059/0.3085, allocations: 0.4939 MB / 397.2 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.3086, allocations: 104.1 kB / 397.3 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.3088, allocations: 116.3 kB / 397.4 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3088, allocations: 11.86 kB / 397.4 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3088, allocations: 0 / 397.4 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.3088, allocations: 3.984 kB / 397.4 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003159/0.312, allocations: 2.629 MB / 400 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.312, allocations: 4 kB / 400 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/0.3124, allocations: 87.88 kB / 400.1 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006414/0.313, allocations: 390.6 kB / 400.5 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.3131, allocations: 12 kB / 400.5 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004334/0.3174, allocations: 4.102 MB / 404.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3175, allocations: 8 kB / 404.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.3203, allocations: 1.983 MB / 406.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004295/0.3208, allocations: 283.7 kB / 406.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.3209, allocations: 12 kB / 406.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/0.3213, allocations: 55.94 kB / 407 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.3215, allocations: 72.55 kB / 407 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.3216, allocations: 23.98 kB / 407.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008925/0.3225, allocations: 0.6864 MB / 407.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3225, allocations: 3.938 kB / 407.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001066/0.3236, allocations: 342.9 kB / 408.1 MB, free: 10.32 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 (45): * Single equations (assignments): 41 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002/0.3238, allocations: 131.1 kB / 408.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002126/0.3259, allocations: 1.301 MB / 409.5 MB, free: 8.871 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.3259, allocations: 5.328 kB / 409.5 MB, free: 8.867 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.3271, allocations: 0.8187 MB / 410.3 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009934/0.3281, allocations: 238 kB / 410.6 MB, free: 7.812 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.3327, allocations: 3.068 MB / 413.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009469/0.3336, allocations: 1.392 MB / 415 MB, free: 3.301 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004352/0.3341, allocations: 175.4 kB / 415.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.3342, allocations: 55.44 kB / 415.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3342, allocations: 0 / 415.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of Templates: time 0.02501/0.3593, allocations: 16.58 MB / 431.8 MB, free: 2.707 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches