Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 101.5 kB / 16.51 MB, free: 6.695 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.001717/0.001717, allocations: 194.2 kB / 17.42 MB, free: 6.09 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.389/1.389, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000938/0.000938, allocations: 52.23 kB / 300 MB, free: 6.305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07925/0.0802, allocations: 49.44 MB / 349.4 MB, free: 4.859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005081/0.08532, allocations: 3.701 MB / 353.1 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.08742, allocations: 0.9936 MB / 354.1 MB, free: 132 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004337/0.08787, allocations: 11.94 kB / 354.1 MB, free: 120 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.08822, allocations: 83.41 kB / 354.2 MB, free: 36 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008656/0.08911, allocations: 218.9 kB / 354.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.08948, allocations: 123.8 kB / 354.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.09066, allocations: 1.055 MB / 355.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000641/0.09131, allocations: 0.5017 MB / 356.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004858/0.09181, allocations: 342.6 kB / 356.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007005/0.09252, allocations: 470.1 kB / 356.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.09265, allocations: 60 kB / 356.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.09283, allocations: 60 kB / 357 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.09306, allocations: 235.1 kB / 357.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004754/0.09354, allocations: 433.8 kB / 357.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009468/0.09449, allocations: 1.227 MB / 358.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.09451, allocations: 0 / 358.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.09452, allocations: 4 kB / 358.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.432e-05/0.09456, allocations: 0 / 358.9 MB, free: 11.32 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002382/0.09694, allocations: 1.166 MB / 360 MB, free: 10.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.09699, allocations: 8.031 kB / 360.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.09717, allocations: 95.81 kB / 360.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009441/0.09813, allocations: 0.6158 MB / 360.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.008e-05/0.09819, allocations: 57.23 kB / 360.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.0983, allocations: 60 kB / 360.9 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.09996, allocations: 0.9228 MB / 361.8 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.1, allocations: 3.984 kB / 361.8 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.236e-05/0.1001, allocations: 32 kB / 361.8 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-05/0.1001, allocations: 25.31 kB / 361.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.1015, allocations: 0.7936 MB / 362.7 MB, free: 7.426 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003952/0.1054, allocations: 2.803 MB / 365.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009411/0.1064, allocations: 0.741 MB / 366.2 MB, free: 3.715 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005742/0.107, allocations: 361 kB / 366.6 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.107, allocations: 4.328 kB / 366.6 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000592/0.1076, allocations: 381.8 kB / 366.9 MB, free: 2.961 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/0.1076, allocations: 4 kB / 366.9 MB, free: 2.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002671/0.1103, allocations: 1.221 MB / 368.2 MB, free: 1.707 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.1104, allocations: 114.8 kB / 368.3 MB, free: 1.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006257/0.111, allocations: 0.5644 MB / 368.8 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.1111, allocations: 41.69 kB / 368.9 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.1113, allocations: 355.9 kB / 369.2 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.1114, allocations: 138.1 kB / 369.4 MB, free: 472 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.1116, allocations: 90.16 kB / 369.4 MB, free: 376 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1117, allocations: 366.8 kB / 369.8 MB, free: 0 / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.133/0.2447, allocations: 212.8 kB / 370 MB, free: 25.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.2452, allocations: 361.8 kB / 370.4 MB, free: 25.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007745/0.246, allocations: 0.5629 MB / 370.9 MB, free: 25.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.246, allocations: 4.469 kB / 370.9 MB, free: 25.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001292/0.2473, allocations: 0.7529 MB / 371.7 MB, free: 25.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2474, allocations: 10.72 kB / 371.7 MB, free: 25.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.2474, allocations: 5.188 kB / 371.7 MB, free: 25.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/0.2479, allocations: 211.3 kB / 371.9 MB, free: 25.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.2482, allocations: 70.62 kB / 372 MB, free: 25.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002915/0.2511, allocations: 2.78 MB / 374.8 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.2515, allocations: 48.34 kB / 374.8 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.2516, allocations: 18.23 kB / 374.8 MB, free: 23.26 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (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.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003982/0.252, allocations: 329.9 kB / 375.1 MB, free: 23.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.392e-05/0.252, allocations: 57 kB / 375.2 MB, free: 23.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.2522, allocations: 65.17 kB / 375.3 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2522, allocations: 7.422 kB / 375.3 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2522, allocations: 4.5 kB / 375.3 MB, free: 23.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.2522, allocations: 7.219 kB / 375.3 MB, free: 23.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.2545, allocations: 1.752 MB / 377 MB, free: 22.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2545, allocations: 3.688 kB / 377 MB, free: 22.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.2548, allocations: 44.78 kB / 377.1 MB, free: 22.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004108/0.2552, allocations: 195.1 kB / 377.3 MB, free: 22.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.2552, allocations: 16.59 kB / 377.3 MB, free: 22.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.2577, allocations: 2.632 MB / 379.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2577, allocations: 6.844 kB / 379.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.2594, allocations: 1.146 MB / 381.1 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.2596, allocations: 191.3 kB / 381.3 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.276e-05/0.2597, allocations: 12.55 kB / 381.3 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.26, allocations: 22.42 kB / 381.3 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.2601, allocations: 44.92 kB / 381.3 MB, free: 19.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.2601, allocations: 12.61 kB / 381.3 MB, free: 19.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004419/0.2606, allocations: 417.3 kB / 381.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2606, allocations: 0 / 381.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006289/0.2612, allocations: 210.5 kB / 382 MB, free: 19.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001118/0.2614, allocations: 120.9 kB / 382.1 MB, free: 19.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.2625, allocations: 0.7204 MB / 382.8 MB, free: 18.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2625, allocations: 1.469 kB / 382.8 MB, free: 18.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006131/0.2631, allocations: 476.9 kB / 383.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006794/0.2638, allocations: 143.2 kB / 383.4 MB, free: 18.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.2664, allocations: 1.84 MB / 385.2 MB, free: 17.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.267, allocations: 1.075 MB / 386.3 MB, free: 16.72 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002947/0.2673, allocations: 96.22 kB / 386.4 MB, free: 16.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.961e-05/0.2674, allocations: 37.25 kB / 386.4 MB, free: 16.71 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2674, allocations: 0 / 386.4 MB, free: 16.71 MB / 302.1 MB Notification: Performance of Templates: time 0.01318/0.2806, allocations: 9.457 MB / 395.9 MB, free: 11.53 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches