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.001347/0.001347, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 247.5 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 60.42 kB / 307.7 MB, free: 0.5898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.104, allocations: 50.53 MB / 358.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005118/0.1091, allocations: 3.469 MB / 361.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.1108, allocations: 0.9425 MB / 362.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.111, allocations: 11.94 kB / 362.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.1112, allocations: 63.31 kB / 362.7 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.1116, allocations: 126.8 kB / 362.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.1119, allocations: 167.7 kB / 363 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005585/0.1125, allocations: 0.5136 MB / 363.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003199/0.1128, allocations: 182.1 kB / 363.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.1131, allocations: 203.2 kB / 363.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.1135, allocations: 215 kB / 364.1 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.478e-05/0.1135, allocations: 48 kB / 364.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.1137, allocations: 48 kB / 364.2 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.1138, allocations: 107.6 kB / 364.3 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.114, allocations: 238.8 kB / 364.5 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000554/0.1146, allocations: 0.5294 MB / 365 MB, free: 7.172 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1146, allocations: 4 kB / 365 MB, free: 7.168 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1146, allocations: 0 / 365 MB, free: 7.168 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.1146, allocations: 3.938 kB / 365 MB, free: 7.164 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.001319/0.116, allocations: 0.7378 MB / 365.8 MB, free: 6.375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.116, allocations: 8.031 kB / 365.8 MB, free: 6.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/0.1163, allocations: 68.34 kB / 365.9 MB, free: 6.301 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/0.1168, allocations: 360.1 kB / 366.2 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.1168, allocations: 29.38 kB / 366.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.1169, allocations: 36.38 kB / 366.3 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.1176, allocations: 400 kB / 366.7 MB, free: 5.434 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.1176, allocations: 3.938 kB / 366.7 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.994e-05/0.1177, allocations: 16 kB / 366.7 MB, free: 5.414 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1177, allocations: 8 kB / 366.7 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/0.1182, allocations: 259.8 kB / 366.9 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.1205, allocations: 1.507 MB / 368.4 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004509/0.1209, allocations: 249.1 kB / 368.7 MB, free: 3.297 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004029/0.1213, allocations: 169.2 kB / 368.9 MB, free: 3.129 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.1214, allocations: 12.22 kB / 368.9 MB, free: 3.117 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000429/0.1218, allocations: 229.9 kB / 369.1 MB, free: 2.871 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.754e-06/0.1218, allocations: 0 / 369.1 MB, free: 2.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001609/0.1234, allocations: 0.5856 MB / 369.7 MB, free: 2.258 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.1235, allocations: 114.8 kB / 369.8 MB, free: 2.121 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/0.1239, allocations: 308.5 kB / 370.1 MB, free: 1.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.1239, allocations: 33.7 kB / 370.1 MB, free: 1.781 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.1241, allocations: 216.4 kB / 370.3 MB, free: 1.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.072e-05/0.1242, allocations: 106.5 kB / 370.4 MB, free: 1.461 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.1243, allocations: 70.02 kB / 370.5 MB, free: 1.383 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1245, allocations: 342.8 kB / 370.8 MB, free: 1.039 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.1247, allocations: 92.7 kB / 370.9 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.1251, allocations: 225.7 kB / 371.2 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.1256, allocations: 331.1 kB / 371.5 MB, free: 300 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1256, allocations: 0 / 371.5 MB, free: 300 kB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.1609/0.2865, allocations: 414 kB / 371.9 MB, free: 19.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.2865, allocations: 10.72 kB / 371.9 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.2865, allocations: 4.281 kB / 371.9 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003414/0.2869, allocations: 81.53 kB / 372 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.2871, allocations: 65.28 kB / 372 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.2888, allocations: 1.983 MB / 374 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.2891, allocations: 41.16 kB / 374.1 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.2891, allocations: 16.53 kB / 374.1 MB, free: 18.31 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.000192/0.2893, allocations: 175.5 kB / 374.3 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.614e-05/0.2894, allocations: 33.2 kB / 374.3 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.416e-05/0.2895, allocations: 40.72 kB / 374.3 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2895, allocations: 4.266 kB / 374.3 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.2895, allocations: 1.031 kB / 374.3 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.2895, allocations: 1.688 kB / 374.3 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005727/0.2901, allocations: 0.5852 MB / 374.9 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2901, allocations: 1.031 kB / 374.9 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.2903, allocations: 27.77 kB / 374.9 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000224/0.2905, allocations: 86.2 kB / 375 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.2905, allocations: 8.906 kB / 375 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.292, allocations: 1.985 MB / 377 MB, free: 16.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.292, allocations: 2.281 kB / 377 MB, free: 16.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008796/0.2929, allocations: 0.497 MB / 377.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.2931, allocations: 137.9 kB / 377.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.2931, allocations: 8.172 kB / 377.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.2933, allocations: 15.25 kB / 377.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/0.2934, allocations: 29.06 kB / 377.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.2935, allocations: 13.52 kB / 377.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002254/0.2937, allocations: 222.5 kB / 377.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2937, allocations: 0 / 377.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000496/0.2942, allocations: 113.5 kB / 378 MB, free: 15.69 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.0001187/0.2943, allocations: 116 kB / 378.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007561/0.2951, allocations: 434.7 kB / 378.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2951, allocations: 0 / 378.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.2955, allocations: 280.5 kB / 378.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.2958, allocations: 69.33 kB / 378.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.2969, allocations: 0.7607 MB / 379.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.2972, allocations: 0.8145 MB / 380.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.2973, allocations: 28.67 kB / 380.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2973, allocations: 0 / 380.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of Templates: time 0.008845/0.3061, allocations: 6.115 MB / 386.6 MB, free: 12.79 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 -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.1.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