Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001795/0.001795, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001202, allocations: 59.91 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08889/0.09011, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004724/0.09486, allocations: 3.477 MB / 362.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.09649, allocations: 0.9347 MB / 363.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002765/0.09679, allocations: 8 kB / 363.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.09703, allocations: 67.3 kB / 363.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003816/0.09743, allocations: 122.8 kB / 363.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.09783, allocations: 159.7 kB / 363.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005987/0.09844, allocations: 0.5214 MB / 364.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.09875, allocations: 185.8 kB / 364.4 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.09907, allocations: 203.2 kB / 364.6 MB, free: 7.625 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.09937, allocations: 222.9 kB / 364.8 MB, free: 7.406 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.188e-05/0.09946, allocations: 48 kB / 364.8 MB, free: 7.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.09958, allocations: 52 kB / 364.9 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.09969, allocations: 111.5 kB / 365 MB, free: 7.199 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.09993, allocations: 230.9 kB / 365.2 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.1005, allocations: 0.5449 MB / 365.8 MB, free: 6.426 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1005, allocations: 0 / 365.8 MB, free: 6.426 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1005, allocations: 0 / 365.8 MB, free: 6.426 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.1005, allocations: 0 / 365.8 MB, free: 6.426 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001304/0.1018, allocations: 0.7339 MB / 366.5 MB, free: 5.641 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.1018, allocations: 8.031 kB / 366.5 MB, free: 5.633 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002807/0.1021, allocations: 68.34 kB / 366.6 MB, free: 5.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.1026, allocations: 372.1 kB / 366.9 MB, free: 5.164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.1026, allocations: 29.38 kB / 367 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.936e-05/0.1027, allocations: 36.38 kB / 367 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006522/0.1034, allocations: 396 kB / 367.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1034, allocations: 0 / 367.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.1034, allocations: 20 kB / 367.4 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.1035, allocations: 11.94 kB / 367.4 MB, free: 4.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.104, allocations: 259.8 kB / 367.7 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.106, allocations: 1.496 MB / 369.2 MB, free: 2.812 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.1065, allocations: 239.5 kB / 369.4 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.1068, allocations: 173.2 kB / 369.6 MB, free: 2.402 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.1069, allocations: 4.234 kB / 369.6 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003823/0.1073, allocations: 237.9 kB / 369.8 MB, free: 2.145 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.1073, allocations: 0 / 369.8 MB, free: 2.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001473/0.1087, allocations: 0.5817 MB / 370.4 MB, free: 1.535 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.1088, allocations: 114.8 kB / 370.5 MB, free: 1.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.1091, allocations: 312.5 kB / 370.8 MB, free: 1.094 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.1092, allocations: 29.7 kB / 370.8 MB, free: 1.059 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1093, allocations: 220.4 kB / 371.1 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.17e-05/0.1094, allocations: 98.55 kB / 371.2 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.1095, allocations: 74.06 kB / 371.2 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1097, allocations: 342.8 kB / 371.6 MB, free: 324 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.1099, allocations: 92.7 kB / 371.6 MB, free: 232 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1411/0.251, allocations: 220 kB / 371.9 MB, free: 19.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/0.2516, allocations: 326 kB / 372.2 MB, free: 19.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2516, allocations: 1 kB / 372.2 MB, free: 19.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008105/0.2524, allocations: 415 kB / 372.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.2525, allocations: 8.812 kB / 372.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.2525, allocations: 4.219 kB / 372.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002994/0.2528, allocations: 88.89 kB / 372.7 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.253, allocations: 57.66 kB / 372.7 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.2546, allocations: 1.995 MB / 374.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.2549, allocations: 40.72 kB / 374.8 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.2549, allocations: 17.53 kB / 374.8 MB, free: 18.22 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: 11 (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.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001766/0.2551, allocations: 172.2 kB / 375 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.2552, allocations: 38.77 kB / 375 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.593e-05/0.2553, allocations: 39.58 kB / 375 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2553, allocations: 7.422 kB / 375 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2553, allocations: 2.438 kB / 375.1 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2553, allocations: 6.562 kB / 375.1 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.2559, allocations: 0.5693 MB / 375.6 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2559, allocations: 1.609 kB / 375.6 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.2561, allocations: 32.77 kB / 375.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002129/0.2563, allocations: 80.44 kB / 375.7 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.2563, allocations: 14.17 kB / 375.8 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.2577, allocations: 1.979 MB / 377.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.2577, allocations: 5.531 kB / 377.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008097/0.2586, allocations: 0.4955 MB / 378.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.2587, allocations: 136.3 kB / 378.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.2587, allocations: 7.406 kB / 378.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.2589, allocations: 13.73 kB / 378.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.259, allocations: 28.77 kB / 378.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.259, allocations: 13.02 kB / 378.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000183/0.2592, allocations: 217.6 kB / 378.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2592, allocations: 0 / 378.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004477/0.2597, allocations: 113.6 kB / 378.8 MB, free: 15.39 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001101/0.2598, allocations: 125.4 kB / 378.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006697/0.2604, allocations: 431.5 kB / 379.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2605, allocations: 2 kB / 379.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.2608, allocations: 279.6 kB / 379.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.2611, allocations: 62.88 kB / 379.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.2622, allocations: 0.715 MB / 380.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.2624, allocations: 0.8117 MB / 381.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.2625, allocations: 38.92 kB / 381.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.2626, allocations: 24.97 kB / 381.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2626, allocations: 1.25 kB / 381.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of Templates: time 0.009741/0.2723, allocations: 4.847 MB / 386.1 MB, free: 13.32 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches